Florian Westphal
174e23810c
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: 95a7233c45 ("net: openvswitch: Set OvS recirc_id from tc chain index")
Signed-off-by: Florian Westphal <fw@strlen.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-09-27 20:40:19 +02:00
..
2019-07-06 12:50:01 +02:00
2019-07-12 17:31:19 -07:00
2019-06-19 17:09:55 +02:00
2019-06-22 08:59:24 -04:00
2019-09-24 16:37:18 +02:00
2019-09-05 12:33:28 +02:00
2019-09-24 16:37:18 +02:00
2019-09-26 08:56:17 +02:00
2019-09-18 12:34:53 -07:00
2019-07-25 18:00:41 -07:00
2019-07-12 16:03:16 -07:00
2019-09-15 14:17:27 +02:00
2019-09-04 14:22:33 +02:00
2019-08-28 12:33:46 +02:00
2019-09-27 20:40:19 +02:00
2019-09-27 12:05:02 +02:00
2019-07-10 18:43:43 -07:00
2019-09-17 23:51:10 +02:00
2019-06-07 11:00:14 -07:00
2019-07-11 14:37:45 -07:00
2019-09-24 16:37:18 +02:00
2019-09-26 08:56:17 +02:00
2019-09-27 20:37:50 +02:00
2019-09-27 12:05:02 +02:00
2019-07-29 10:26:14 -07:00
2019-09-27 10:27:14 +02:00
2019-07-08 19:48:57 -07:00
2019-07-30 14:42:13 -07:00
2019-06-23 13:24:17 -07:00
2019-06-17 20:20:36 -07:00
2019-06-05 17:36:36 +02:00
2019-09-15 14:17:27 +02:00
2019-08-25 14:34:08 -07:00
2019-09-19 18:04:40 -07:00
2019-09-27 20:15:00 +02:00
2019-09-01 11:45:02 -07:00
2019-06-14 19:50:33 -07:00
2019-07-24 15:49:05 -07:00
2019-09-24 16:37:18 +02:00
2019-06-19 17:09:55 +02:00
2019-09-26 09:32:33 +02:00
2019-08-15 13:59:48 -07:00
2019-06-05 17:37:07 +02:00
2019-09-16 09:18:03 +02:00
2019-09-21 18:45:46 -07:00
2019-09-27 12:10:55 +02:00
2019-06-19 17:09:55 +02:00
2019-09-15 14:17:27 +02:00
2019-09-27 20:08:28 +02:00
2019-09-27 12:05:02 +02:00
2019-08-20 12:25:14 -07:00
2019-06-22 08:59:24 -04:00
2019-09-18 13:15:58 -07:00
2019-09-15 14:17:27 +02:00
2019-09-07 18:10:34 +02:00
2019-06-07 11:00:14 -07:00
2019-09-05 09:53:01 +02:00
2019-08-10 15:25:47 -07:00
2019-09-11 14:57:17 +01:00
2019-09-19 14:23:41 +02:00
2019-09-15 14:17:27 +02:00
2019-05-31 15:30:03 -06:00
2019-08-17 12:40:08 -07:00
2019-07-19 10:42:02 -07:00