aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2010-04-14 23:11:14 +0000
committerDavid S. Miller <[email protected]>2010-04-16 15:41:04 -0700
commit1c4f0197323254e463b642abf2c8361e2a924859 (patch)
tree5dc70f6fc0baabe81f50fec965dd0d66dd772a21 /net/lapb/lapb_in.c
parent31f634a63de7068c6a5dcb0d7b09b24b61a5cf88 (diff)
packet : remove init_net restriction
The af_packet protocol is used by Perl to do ioctls as reported by Stephane Riviere: "Net::RawIP relies on SIOCGIFADDR et SIOCGIFHWADDR to get the IP and MAC addresses of the network interface." But in a new network namespace these ioctl fail because it is disabled for a namespace different from the init_net_ns. These two lines should not be there as af_inet and af_packet are namespace aware since a long time now. I suppose we forget to remove these lines because we sent the af_packet first, before af_inet was supported. Signed-off-by: Daniel Lezcano <[email protected]> Reported-by: Stephane Riviere <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions