diff options
author | Jason Wang <jasowang@redhat.com> | 2014-11-26 17:21:14 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-29 20:44:27 -0800 |
commit | a523a5ecc8c6ddceb8f783f600605553e5ad8963 (patch) | |
tree | 144d7b5bdd72b0048cbc813422194486bfd15e5f /net/ipv4/tcp_ipv4.c | |
parent | 799d2fff1858004526ad75d66a5dd8a5cce6ad40 (diff) | |
download | blackbird-op-linux-a523a5ecc8c6ddceb8f783f600605553e5ad8963.tar.gz blackbird-op-linux-a523a5ecc8c6ddceb8f783f600605553e5ad8963.zip |
macvlan: delay the header check for dodgy packets into lower device
We do header check twice for a dodgy packet. One is done before
macvlan_start_xmit(), another is done before lower device's
ndo_start_xmit(). The first one seems redundant so this patch tries to
delay header check until a packet reaches its lower device (or macvtap)
through always enabling NETIF_F_GSO_ROBUST for macvlan device.
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions