]> git.baikalelectronics.ru Git - kernel.git/commit
af-packet: Hold reference to bound network devices.
authorBen Greear <greearb@candelatech.com>
Wed, 1 Jun 2011 07:18:52 +0000 (07:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2011 21:16:28 +0000 (14:16 -0700)
commit35873ac7529b1ed7fc7d629d7ca7c11bb4b419fb
tree68faa9997e62de66cfc0f06ed744737443345c7f
parentfeef3eeefac0b051108197954e0d973eaa768f99
af-packet: Hold reference to bound network devices.

Old code was probably safe, but with this change we
can actually use the netdev object, not just compare
the pointer values.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c