diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2015-11-11 23:25:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-15 18:00:35 -0500 |
commit | 8fd6c80d9dd938ca338c70698533a7e304752846 (patch) | |
tree | b5080145d5f9afe7b0502a4aed2a5fae37631280 /mm | |
parent | efdfa2f7848f64517008136fb41f53c4a1faf93a (diff) | |
download | linux-stable-8fd6c80d9dd938ca338c70698533a7e304752846.tar.gz linux-stable-8fd6c80d9dd938ca338c70698533a7e304752846.tar.bz2 linux-stable-8fd6c80d9dd938ca338c70698533a7e304752846.zip |
packet: always probe for transport header
We concluded that the skb_probe_transport_header() should better be
called unconditionally. Avoiding the call into the flow dissector has
also not really much to do with the direct xmit mode.
While it seems that only virtio_net code makes use of GSO from non
RX/TX ring packet socket paths, we should probe for a transport header
nevertheless before they hit devices.
Reference: http://thread.gmane.org/gmane.linux.network/386173/
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions