patch-2.4.27 linux-2.4.27/net/ipv6/af_inet6.c
Next file: linux-2.4.27/net/ipv6/icmp.c
Previous file: linux-2.4.27/net/ipv4/udp.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2004-08-07 16:26:07.028444326 -0700
- Orig file:
linux-2.4.26/net/ipv6/af_inet6.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
diff -urN linux-2.4.26/net/ipv6/af_inet6.c linux-2.4.27/net/ipv6/af_inet6.c
@@ -550,7 +550,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)