llc: llc_cmsg_rcv was getting called after sk_eat_skb.
authorAlex Juncu <ajuncu@ixiacom.com>
Thu, 15 Dec 2011 23:01:25 +0000 (23:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2011 20:58:52 +0000 (15:58 -0500)
commit9cef310fcdee12b49b8b4c96fd8f611c8873d284
tree9822f822a2cdc3bdc1beb70e061fcea006a923f2
parenta03ffcf873fe0f2565386ca8ef832144c42e67fa
llc: llc_cmsg_rcv was getting called after sk_eat_skb.

Received non stream protocol packets were calling llc_cmsg_rcv that used a
skb after that skb was released by sk_eat_skb. This caused received STP
packets to generate kernel panics.

Signed-off-by: Alexandru Juncu <ajuncu@ixiacom.com>
Signed-off-by: Kunjan Naik <knaik@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/af_llc.c