Displaying 6 results from an estimated 6 matches for "br_handle_frame_hook".
2007 Apr 18
1
[Bridge] Problem loading bridge.o
...e firewall with br0 as the internal interface. I
compiled the kernel (2.4.23) with
CONFIG_BRIDGE=m
but when I modprobe bridge, I get this stuff:
/lib/modules/2.4.23-ck1/kernel/net/bridge/bridge.o: unresolved symbol br_ioctl_hook
/lib/modules/2.4.23-ck1/kernel/net/bridge/bridge.o: unresolved symbol br_handle_frame_hook
/lib/modules/2.4.23-ck1/kernel/net/bridge/bridge.o: insmod /lib/modules/2.4.23-ck1/kernel/net/bridge/bridge.o failed
/lib/modules/2.4.23-ck1/kernel/net/bridge/bridge.o: insmod bridge failed
I can't figure it out. Do I need to patch the kernel? (I thought 2.4.21
and beyond needed no patches.) D...
2007 Apr 18
1
[Bridge] [PATCH 2.4] bridge - eliminate br_ioctl_mutex
..._clear_ioctl_hook(void)
-{
- br_ioctl_hook = NULL;
-}
-
static void __exit br_deinit(void)
{
unregister_netdevice_notifier(&br_device_notifier);
- br_call_ioctl_atomic(__br_clear_ioctl_hook);
+
+ rtnl_lock();
+ br_ioctl_hook = NULL;
+ rtnl_unlock();
br_write_lock_bh(BR_NETPROTO_LOCK);
br_handle_frame_hook = NULL;
diff -Nru a/net/bridge/br_ioctl.c b/net/bridge/br_ioctl.c
--- a/net/bridge/br_ioctl.c 2004-06-21 07:46:49 -07:00
+++ b/net/bridge/br_ioctl.c 2004-06-21 07:46:49 -07:00
@@ -16,6 +16,7 @@
#include <linux/kernel.h>
#include <linux/if_bridge.h>
#include <linux/inetdevice.h>...
2007 Apr 18
3
[Bridge] [2.6 patch] fix bridge <-> ATM compile error
...include "br_private.h"
-#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
+#if defined(CONFIG_ATM_LANE) || (defined(CONFIG_ATM_LANE_MODULE) && defined(MODULE))
#include "../atm/lec.h"
#endif
@@ -39,7 +39,7 @@
brioctl_set(br_ioctl_deviceless_stub);
br_handle_frame_hook = br_handle_frame;
-#if defined(CONFIG_ATM_LANE) || defined(CONFIG_ATM_LANE_MODULE)
+#if defined(CONFIG_ATM_LANE) || (defined(CONFIG_ATM_LANE_MODULE) && defined(MODULE))
br_fdb_get_hook = br_fdb_get;
br_fdb_put_hook = br_fdb_put;
#endif
@@ -60,7 +60,7 @@
synchronize_net();
-#if...
2007 Apr 18
0
[Bridge] [PATCH] (9/11) bridge -- new ioctl interface for 32/64 compatiablity
...dge.h 2004-05-20 14:46:10 -07:00
+++ b/include/linux/if_bridge.h 2004-05-20 14:46:10 -07:00
@@ -104,7 +104,7 @@
#include <linux/netdevice.h>
-extern void brioctl_set(int (*ioctl_hook)(unsigned long));
+extern void brioctl_set(int (*ioctl_hook)(unsigned int, unsigned long));
extern int (*br_handle_frame_hook)(struct sk_buff *skb);
extern int (*br_should_route_hook)(struct sk_buff **pskb);
diff -Nru a/include/linux/sockios.h b/include/linux/sockios.h
--- a/include/linux/sockios.h 2004-05-20 14:46:10 -07:00
+++ b/include/linux/sockios.h 2004-05-20 14:46:10 -07:00
@@ -116,6 +116,12 @@
#define SIOCBOND...
2007 Apr 18
4
[Bridge] [PATCH/RFC] Let {ip, arp}tables "see" bridged VLAN tagged {I, AR}P packets
...DGE_MODULE)
+
+#if defined(CONFIG_VLAN_8021Q) || defined(CONFIG_VLAN_8021Q_MODULE)
+#ifdef CONFIG_BRIDGE_NETFILTER
+/* net/bridge/br_netfilter.c needs the address of vlan_dev_hard_start_xmit */
+int (*vlan_dev_hard_start_xmit_p)(struct sk_buff *skb, struct net_device *dev);
+#endif
+#endif
+
int (*br_handle_frame_hook)(struct sk_buff *skb);
static __inline__ int handle_bridge(struct sk_buff *skb,
--- linux-2.6.0-test6/include/linux/if_vlan.h Sun Sep 28 02:50:10 2003
+++ linux-2.6.0-test6-new/include/linux/if_vlan.h Sun Oct 5 21:56:15 2003
@@ -54,6 +54,12 @@ struct vlan_hdr {
#define VLAN_VID_MASK 0xfff...
2006 Feb 22
0
Re: [PATCH] Fix IPSec for Xen checksum offload packets (Jon Mason)
...lete checksumming here.
>@@ -3350,6 +3361,7 @@
> EXPORT_SYMBOL(net_enable_timestamp);
> EXPORT_SYMBOL(net_disable_timestamp);
> EXPORT_SYMBOL(dev_get_flags);
>+EXPORT_SYMBOL(xen_checksum_setup);
>
> #if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
> EXPORT_SYMBOL(br_handle_frame_hook);
>diff -r 57e6d7218427 -r 079135b0d58f patches/linux-2.6.16-rc2/net-csum.patch
>--- a/patches/linux-2.6.16-rc2/net-csum.patch Fri Feb 3 18:45:14 2006
>+++ b/patches/linux-2.6.16-rc2/net-csum.patch Mon Feb 6 19:34:52 2006
>@@ -44,3 +44,27 @@
> *portptr = newport;
> return 1;...