commit | 56ac11cf2f21366ad48b356f7a0d1af8cff3588e | [log] [tgz] |
---|---|---|
author | Radu Iliescu <radui@bricsys.com> | Thu Jan 19 03:57:57 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 24 15:33:19 2012 -0500 |
tree | dd4471a9df32ddda044718d6d88cbb78cf941bea | |
parent | 90b9a5454fd2e626aa1614fe9ece6b63a0dc37af [diff] |
llc: Fix race condition in llc_ui_recvmsg There is a race on sk_receive_queue between llc_ui_recvmsg and sock_queue_rcv_skb. Our current solution is to protect skb_eat in llc_ui_recvmsg with the queue spinlock. Signed-off-by: Radu Iliescu <riliescu@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>