mirror of https://gitee.com/openkylin/linux.git
d92a7db710
The snap_rcv code reads 5 bytes so we should make sure that we have 5 bytes in the head before proceeding. Based on diagnosis and fix by Evgeniy Polyakov, reported by Alan J. Wylie. Patch also kills the skb->sk assignment before kfree_skb since it's redundant. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
fc.c | ||
fddi.c | ||
hippi.c | ||
p8022.c | ||
p8023.c | ||
psnap.c | ||
sysctl_net_802.c | ||
tr.c |