[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121008.152221.1598558544115876006.davem@davemloft.net>
Date: Mon, 08 Oct 2012 15:22:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: florz@...rz.de
Cc: kaber@...sh.net, eric.dumazet@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, jpirko@...hat.com
Subject: Re: [PATCH v2] vlan: don't deliver frames for unknown vlans to
protocols
From: Florian Zumbiehl <florz@...rz.de>
Date: Mon, 8 Oct 2012 21:19:44 +0200
> The only way to reach the new check without another_round and with a
> non-zero tag is the first return false, which happens if there is no device
> for the tag, in which case setting PACKET_OTHERHOST should be the right
> thing to do (in particular, a non-existent vlan device won't have the
> frame's MAC address). I am assuming that rx_handlers don't modify the
> frame unless they return RX_HANDLER_ANOTHER.
Indeed, you're right.
Patch applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists