Eric Dumazet
aea92fb2e0
sch_dsmark: fix invalid skb_cow() usage
...
skb_cow(skb, sizeof(ip header)) is not very helpful in this context.
First we need to use pskb_may_pull() to make sure the ip header
is in skb linear part, then use skb_try_make_writable() to
address clones issues.
Fixes: 4c30719f4f55 ("[PKT_SCHED] dsmark: handle cloned and non-linear skb's")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-21 17:21:27 -07:00
..
2017-02-26 21:31:32 -05:00
2017-01-16 14:03:31 -05:00
2017-03-12 23:32:41 -07:00
2017-01-09 14:36:57 -05:00
2016-11-18 10:59:15 -05:00
2017-02-03 15:16:46 -05:00
2016-11-18 10:59:15 -05:00
2016-03-01 17:15:23 -05:00
2016-03-01 17:15:23 -05:00
2016-09-19 21:55:28 -04:00
2017-02-07 11:42:34 -05:00
2016-11-18 10:59:15 -05:00
2017-02-10 13:18:33 -05:00
2016-12-05 15:21:59 -05:00
2017-02-01 14:10:03 -05:00
2016-11-18 10:59:15 -05:00
2016-11-18 10:59:15 -05:00
2017-03-07 14:13:03 -08:00
2016-12-23 11:59:56 -05:00
2016-11-18 10:59:15 -05:00
2017-02-14 11:44:14 -05:00
2016-11-28 10:47:35 -05:00
2017-02-17 12:08:06 -05:00
2016-11-28 10:47:35 -05:00
2017-02-02 14:31:53 +01:00
2017-02-17 12:08:05 -05:00
2016-09-19 22:04:14 -04:00
2017-02-17 12:08:06 -05:00
2016-09-23 06:51:49 -04:00
2016-11-28 10:47:35 -05:00
2016-11-28 10:47:35 -05:00
2017-02-17 12:08:06 -05:00
2014-10-06 18:02:32 -04:00
2016-11-03 10:56:21 +01:00
2017-03-02 08:42:27 +01:00
2014-10-06 18:02:32 -04:00
2015-02-22 15:59:54 -05:00
2015-02-20 15:30:56 -05:00
2017-02-03 15:16:46 -05:00
2017-01-24 13:44:28 -05:00
2017-02-17 15:10:18 -05:00
2017-02-10 11:38:08 -05:00
2016-06-25 12:19:35 -04:00
2017-02-10 11:38:08 -05:00
2017-02-10 11:38:08 -05:00
2016-09-19 01:47:18 -04:00
2016-12-05 15:21:59 -05:00
2017-03-21 17:21:27 -07:00
2016-09-19 01:47:18 -04:00
2017-02-10 11:38:08 -05:00
2016-12-20 14:22:48 -05:00
2016-12-29 15:38:35 -05:00
2016-06-25 12:19:35 -04:00
2016-12-05 15:21:59 -05:00
2017-02-11 21:38:58 -05:00
2017-02-10 11:38:08 -05:00
2017-02-10 11:38:08 -05:00
2017-02-11 21:38:58 -05:00
2017-02-11 21:38:58 -05:00
2017-02-10 11:38:08 -05:00
2017-01-08 20:58:52 -05:00
2016-09-19 01:47:18 -04:00
2016-06-25 12:19:35 -04:00
2017-02-10 11:38:08 -05:00
2016-12-05 15:21:59 -05:00
2016-06-25 12:19:35 -04:00
2017-02-10 11:38:08 -05:00
2017-02-11 21:38:58 -05:00
2016-06-25 12:19:35 -04:00
2017-01-08 17:51:44 -05:00