patch-2.3.99-pre1 linux/net/packet/af_packet.c
Next file: linux/net/sched/sch_ingress.c
Previous file: linux/net/econet/af_econet.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Mon Mar 13 22:18:11 2000
- Orig file:
v2.3.51/linux/net/packet/af_packet.c
- Orig date:
Sat Feb 26 22:32:08 2000
diff -u --recursive --new-file v2.3.51/linux/net/packet/af_packet.c linux/net/packet/af_packet.c
@@ -5,7 +5,7 @@
*
* PACKET - implements raw packet sockets.
*
- * Version: $Id: af_packet.c,v 1.32 2000/02/21 16:25:55 davem Exp $
+ * Version: $Id: af_packet.c,v 1.33 2000/03/13 22:11:50 davem Exp $
*
* Authors: Ross Biro, <bir7@leland.Stanford.Edu>
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -1439,6 +1439,7 @@
case SIOCGIFBR:
case SIOCSIFBR:
#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
+#ifdef CONFIG_INET
#ifdef CONFIG_KMOD
if (br_ioctl_hook == NULL)
request_module("bridge");
@@ -1446,6 +1447,7 @@
if (br_ioctl_hook != NULL)
return br_ioctl_hook(arg);
#endif
+#endif
return -ENOPKG;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)