diff options
| author | Eric Dumazet <[email protected]> | 2017-11-03 13:18:59 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-11-05 13:14:54 +0000 |
| commit | 35e00da36cf42d54270ce25110ce304d12b18586 (patch) | |
| tree | 6bd07d160416b06eb850310dea5819c69141ff79 /tools/bpf/bpftool/prog.c | |
| parent | tcp: tcp_mtu_probing() cleanup (diff) | |
| download | kernel-35e00da36cf42d54270ce25110ce304d12b18586.tar.gz kernel-35e00da36cf42d54270ce25110ce304d12b18586.zip | |
tcp: do not clear again skb->csum in tcp_init_nondata_skb()
tcp_init_nondata_skb() is fed with freshly allocated skbs.
They already have a cleared csum field, no need to clear it again.
This is based on Neal review on commit 3b11775033dc ("tcp: do not mangle
skb->cb[] in tcp_make_synack()"), noticing I did not clear skb->csum.
Signed-off-by: Eric Dumazet <[email protected]>
Reported-by: Neal Cardwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
