aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_fastopen.c
diff options
context:
space:
mode:
authorWillem de Bruijn <[email protected]>2017-12-12 16:39:04 +0000
committerDavid S. Miller <[email protected]>2017-12-13 20:14:10 +0000
commit8d74e9f88d65af8bb2e095aff506aa6eac755ada (patch)
tree10ad06639c25d8501db175e414b1e3f01a287a76 /net/ipv4/tcp_fastopen.c
parentnet: sk_pacing_shift_update() helper (diff)
downloadkernel-8d74e9f88d65af8bb2e095aff506aa6eac755ada.tar.gz
kernel-8d74e9f88d65af8bb2e095aff506aa6eac755ada.zip
net: avoid skb_warn_bad_offload on IS_ERR
skb_warn_bad_offload warns when packets enter the GSO stack that require skb_checksum_help or vice versa. Do not warn on arbitrary bad packets. Packet sockets can craft many. Syzkaller was able to demonstrate another one with eth_type games. In particular, suppress the warning when segmentation returns an error, which is for reasons other than checksum offload. See also commit 36c92474498a ("net: WARN if skb_checksum_help() is called on skb requiring segmentation") for context on this warning. Signed-off-by: Willem de Bruijn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_fastopen.c')
0 files changed, 0 insertions, 0 deletions