vlan/bridging broken in 4.8-release?
Maxim Konovalov
maxim at macomnet.ru
Tue May 20 08:11:44 PDT 2003
On 17:33+0200, May 16, 2003, Marco Wertejuk wrote:
> Hello Maxim,
>
> | I am trying to solve some bugs in bridging code in -current. I
> | believe we have the same bugs in -stable as well. First of all, do
> | not use bridge.ko, use 'options BRIDGE' in your kernel config file
> | instead. Second, try to play with net.inet.ip.check_interface sysctl.
>
> the bridge option is statically compiled into the kernel and
> I could not see any change when playing around with
> net.inet.ip.check_interface.
>
> Any other ideas?
Try this patch^Whack.
Index: if_ethersubr.c
===================================================================
RCS file: /home/ncvs/src/sys/net/if_ethersubr.c,v
retrieving revision 1.147
diff -u -r1.147 if_ethersubr.c
--- if_ethersubr.c 5 May 2003 09:15:50 -0000 1.147
+++ if_ethersubr.c 20 May 2003 15:06:50 -0000
@@ -625,6 +625,7 @@
if (rule) /* packet was already bridged */
goto post_stats;
+#if 0
if (!(BDG_ACTIVE(ifp))) {
/*
* Discard packet if upper layers shouldn't see it because it
@@ -641,6 +642,7 @@
return;
}
}
+#endif
/* Discard packet if interface is not up */
if ((ifp->if_flags & IFF_UP) == 0) {
%%%
Btw http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/46961 looks
similar.
--
Maxim Konovalov, maxim at macomnet.ru, maxim at FreeBSD.org
More information about the freebsd-hackers
mailing list