[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130802.145857.61122061546813600.davem@davemloft.net>
Date: Fri, 02 Aug 2013 14:58:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: phil@....cc
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/3] af_packet: fix for sending VLAN frames via
packet_mmap
From: Phil Sutter <phil@....cc>
Date: Fri, 2 Aug 2013 11:37:40 +0200
> Since tpacket_fill_skb() parses the protocol field in ethernet frames'
> headers, it's easy to see if any passed frame is a VLAN one and account
> for the extended size.
>
> But as the real protocol does not turn up before tpacket_fill_skb()
> runs which in turn also checks the frame length, move the max frame
> length calculation into the function.
>
> Signed-off-by: Phil Sutter <phil@....cc>
Applied.
--
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