Subject: Re: carp on vlan: drop M_PROMISC before calling carp ?
To: Manuel Bouyer <>
From: Liam J. Foy <>
List: tech-net
Date: 01/30/2007 12:54:29
On 26 Jan 2007, at 00:11, Manuel Bouyer wrote:

> Hi,
> 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  
> state the packet is dropped. Does the attached patch make sense ?
> -- 
> Manuel Bouyer <>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --
> <diff>

Yeah, it seems fine to me

		Liam J. Foy