diff options
| author | Florian Westphal <[email protected]> | 2019-09-26 18:37:05 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-09-27 18:40:19 +0000 |
| commit | 174e23810cd3183dc2ca3f5166ef965a55eaaf54 (patch) | |
| tree | a9ffbf41f4c75ccef3332330253b37e21a84104f /net/ipv4/tcp_timer.c | |
| parent | tcp_bbr: fix quantization code to not raise cwnd if not probing bandwidth (diff) | |
| download | kernel-174e23810cd3183dc2ca3f5166ef965a55eaaf54.tar.gz kernel-174e23810cd3183dc2ca3f5166ef965a55eaaf54.zip | |
sk_buff: drop all skb extensions on free and skb scrubbing
Now that we have a 3rd extension, add a new helper that drops the
extension space and use it when we need to scrub an sk_buff.
At this time, scrubbing clears secpath and bridge netfilter data, but
retains the tc skb extension, after this patch all three get cleared.
NAPI reuse/free assumes we can only have a secpath attached to skb, but
it seems better to clear all extensions there as well.
v2: add unlikely hint (Eric Dumazet)
Fixes: 95a7233c452a ("net: openvswitch: Set OvS recirc_id from tc chain index")
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
