commit | abf9d537fea225af60762640361af7fb233b3103 | [log] [tgz] |
---|---|---|
author | Octavian Purdila <opurdila@ixiacom.com> | Sat Dec 26 11:51:01 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 26 20:41:12 2009 -0800 |
tree | e0e47b3f869119b7a2902e759a637021037738ae | |
parent | e5cd6fe391aa8c93560bb7ffdfe334cf4d0a02e4 [diff] |
llc: add support for SO_BINDTODEVICE Using bind(MAC address) with LLC sockets has O(n) complexity, where n is the number of interfaces. To overcome this, we add support for SO_BINDTODEVICE which drops the complexity to O(1). Signed-off-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>