From: Cong Wang Date: Tue, 2 Apr 2013 21:52:40 +0000 (+0000) Subject: 802: fix a possible race condition X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~214 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfbe800b8b771afc7d5aa113e19f85ec933b7618;p=pandora-kernel.git 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 Cc: "David S. Miller" Cc: David Ward Cc: "Jorge Boncompte [DTI2]" Signed-off-by: Cong Wang Signed-off-by: David S. Miller --- Reading git-diff-tree failed