aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-03-17 08:05:28 -0700
committerDavid S. Miller <davem@davemloft.net>2017-03-21 17:21:27 -0700
commitaea92fb2e09e29653b023d4254ac9fbf94221538 (patch)
tree146bf8ca4cb9b88ca710c379a317e7135db667f2 /drivers
parenttun: fix inability to set offloads after disabling them via ethtool (diff)
downloadlinux-dev-aea92fb2e09e29653b023d4254ac9fbf94221538.tar.xz
linux-dev-aea92fb2e09e29653b023d4254ac9fbf94221538.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions