]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit160ff18a07f3a505d452dcced8e45ecdd0a85506
tree68faa9997e62de66cfc0f06ed744737443345c7f
parente990b37b906b6137d353ef2a918e15e5763d70ec
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