[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101012.104032.71103852.davem@davemloft.net>
Date: Tue, 12 Oct 2010 10:40:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: eric.dumazet@...il.com, netdev@...r.kernel.org,
johann.baudy@...-log.net
Subject: Re: [PATCH] af_packet: account for VLAN when checking packet size
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Tue, 12 Oct 2010 19:19:41 +0200
> Yes, like eth_type_trans does I guess. I think we had a similar
> discussion already:
>
> http://lists.openwall.net/netdev/2010/01/06/38
>
> Summary: if we want to make the protocol field have the correct
> value for this case we need to make it work for other
> transports not just for ethernet.
Right, so for now we should just allow 4-byte larger
than MTU TX packets, as long as the device is ethernet
and can handle VLANs properly.
--
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