aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2013-04-02 21:52:40 +0000
committerDavid S. Miller <[email protected]>2013-04-07 21:04:17 +0000
commitcfbe800b8b771afc7d5aa113e19f85ec933b7618 (patch)
tree153b62e924d6a9982788f294590d0e78d7e53d08 /net/unix/af_unix.c
parentselftests: net: add PF_PACKET TPACKET v1/v2/v3 selftests (diff)
downloadkernel-cfbe800b8b771afc7d5aa113e19f85ec933b7618.tar.gz
kernel-cfbe800b8b771afc7d5aa113e19f85ec933b7618.zip
802: fix a possible race condition
(Resend with a better changelog) garp_pdu_queue() should ways be called with this spin lock. garp_uninit_applicant() only holds rtnl lock which is not enough here. A possible race can happen as garp_pdu_rcv() is called in BH context: garp_pdu_rcv() |->garp_pdu_parse_msg() |->garp_pdu_parse_attr() |-> garp_gid_event() Found by code inspection. Cc: Eric Dumazet <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: David Ward <[email protected]> Cc: "Jorge Boncompte [DTI2]" <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions