patch-2.4.27 linux-2.4.27/net/ipv4/af_inet.c
Next file: linux-2.4.27/net/ipv4/devinet.c
Previous file: linux-2.4.27/net/decnet/dn_dev.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-08-07 16:26:06.827436066 -0700
- Orig file:
linux-2.4.26/net/ipv4/af_inet.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.26/net/ipv4/af_inet.c linux-2.4.27/net/ipv4/af_inet.c
@@ -1042,7 +1042,7 @@
br_write_lock_bh(BR_NETPROTO_LOCK);
- if (p->type > SOCK_MAX)
+ if (p->type >= SOCK_MAX)
goto out_illegal;
/* If we are trying to override a permanent protocol, bail. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)