Subject: Re: carp on vlan: drop M_PROMISC before calling carp ?
To: None <tech-net@NetBSD.org>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 01/29/2007 23:14:03
On Fri, Jan 26, 2007 at 01:11:38AM +0100, Manuel Bouyer wrote:
> trying to run carp interfaces on top of vlan interfaces I ran into
> an issue: the packets for the carp interface are just dropped, they
> never make it to the upper layer. I traked it down to the vlan interface
> forwarding the packet to carp with M_PROMISC set, which is still here
> when carp calls ether_input() again. This is a problem that also existed
> for bridges; I applied the same fix: drop M_PROMISC before calling carp.
> This works, and I also checked that when the carp interface is in BACKUP
> state the packet is dropped. Does the attached patch make sense ?
I'm running a system with carp on vlan for several days now;
I just commited it to current and will request a pullup to netbsd-4 in
a few days.
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference