patch-2.3.49 linux/net/decnet/dn_nsp_in.c
Next file: linux/net/decnet/dn_nsp_out.c
Previous file: linux/net/decnet/dn_neigh.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Mar 2 10:13:17 2000
- Orig file:
v2.3.48/linux/net/decnet/dn_nsp_in.c
- Orig date:
Thu Feb 10 17:11:24 2000
diff -u --recursive --new-file v2.3.48/linux/net/decnet/dn_nsp_in.c linux/net/decnet/dn_nsp_in.c
@@ -320,7 +320,7 @@
struct dn_scp *scp = &sk->protinfo.dn;
unsigned short reason;
- if (skb->len != 2)
+ if (skb->len < 2)
goto out;
reason = dn_ntohs(*(__u16 *)skb->data);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)