This repository was archived by the owner on Sep 30, 2019. It is now read-only.
Commit 0aea76d
tcp: SYN packets are now simply consumed
We now have proper per-listener but also per network namespace counters
for SYN packets that might be dropped.
We replace the kfree_skb() by consume_skb() to be drop monitor [1]
friendly, and remove an obsolete comment.
FastOpen SYN packets can carry payload in them just fine.
[1] perf record -a -g -e skb:kfree_skb sleep 1; perf report
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 1bc7fe6 commit 0aea76d
1 file changed
+1
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5815 | 5815 | | |
5816 | 5816 | | |
5817 | 5817 | | |
5818 | | - | |
5819 | | - | |
5820 | | - | |
5821 | | - | |
5822 | | - | |
5823 | | - | |
5824 | | - | |
5825 | | - | |
5826 | | - | |
5827 | | - | |
5828 | | - | |
5829 | | - | |
5830 | | - | |
5831 | | - | |
5832 | | - | |
5833 | | - | |
5834 | | - | |
5835 | | - | |
| 5818 | + | |
5836 | 5819 | | |
5837 | 5820 | | |
5838 | 5821 | | |
| |||
0 commit comments