kernel-fxtec-pro1x/net/802
Herbert Xu d92a7db710 [SNAP]: Check packet length before reading
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>
2007-08-21 20:58:13 -07:00
..
fc.c
fddi.c [SK_BUFF]: Introduce skb_reset_mac_header(skb) 2007-04-25 22:24:32 -07:00
hippi.c [SK_BUFF]: Introduce skb_mac_header() 2007-04-25 22:24:41 -07:00
Makefile
p8022.c
p8023.c
psnap.c [SNAP]: Check packet length before reading 2007-08-21 20:58:13 -07:00
sysctl_net_802.c
tr.c [NET]: Make all initialized struct seq_operations const. 2007-07-10 23:07:31 -07:00