netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TX_RING and VLAN : (packet size is too long 1518 > 1514)
@ 2014-02-23 11:03 Mathias Kretschmer
  2014-02-23 13:58 ` Daniel Borkmann
  0 siblings, 1 reply; 7+ messages in thread
From: Mathias Kretschmer @ 2014-02-23 11:03 UTC (permalink / raw)
  To: dborkman; +Cc: jbrouer, netdev

Hi Daniel, all

we're running into the above error when sending full-sized VLAN-tagged 
frames via TX_RING (Kernel 3.10.31, but same code seems to be present in 
3.14).

For the regular send() calls, there seems to be code in place to handle 
VLAN-tagged frames, but in tpacket_fill_skb() there is no such check.

I came up with fix for this, but can only verify this tomorrow.
If it works, I'd send you a patch, but someone with more insights into 
the networking code should probably fix this properly ;-)

Cheers,

Mathias

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-02-26 10:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-23 11:03 TX_RING and VLAN : (packet size is too long 1518 > 1514) Mathias Kretschmer
2014-02-23 13:58 ` Daniel Borkmann
2014-02-24  9:03   ` Mathias Kretschmer
2014-02-24 22:33     ` Daniel Borkmann
2014-02-26  7:28       ` Mathias Kretschmer
2014-02-26 10:33         ` Daniel Borkmann
2014-02-24 21:40   ` Setting skb->protocol efficiently for AF_PACKETs via TX_RING Mathias Kretschmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).