Re: [PATCH v2] vlan: allow nested vlan_do_receive()
From: David Miller <davem@davemloft.net>
Date: 2011-10-30 08:44:20
From: David Miller <davem@davemloft.net>
Date: 2011-10-30 08:44:20
From: Jiri Pirko <redacted> Date: Sun, 30 Oct 2011 09:38:12 +0100
Sat, Oct 29, 2011 at 06:28:40PM CEST, jpirko@redhat.com wrote:quoted
Sat, Oct 29, 2011 at 06:13:39PM CEST, eric.dumazet@gmail.com wrote:quoted
commit 2425717b27eb (net: allow vlan traffic to be received under bond) broke ARP processing on vlan on top of bonding.
...
quoted
quoted
Packet is dropped in arp_rcv() because its pkt_type was set to PACKET_OTHERHOST in the first vlan_do_receive() call, since no eth0.103 exists. We really need to change pkt_type only if no more rx_handler is about to be called for the packet. Signed-off-by: Eric Dumazet <redacted> --- V2 : change the vlan_do_receive() added argument to be a boolean
...
Reviewed-by: Jiri Pirko <redacted>
Applied, thanks everyone.