Eric Dumazet 8a6e9c6703 net_sched: netem: do not call qdisc_drop() with a NULL skb
If skb_unshare() fails, we call qdisc_drop() with a NULL skb, which
is no longer supported.

Fixes: 520ac30f4551 ("net_sched: drop packets after root qdisc lock is released")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-06-29 08:02:24 -04:00
..
2016-05-27 15:26:11 -07:00
2016-05-23 13:51:10 -07:00
2016-06-12 22:02:11 -04:00
2016-06-28 05:26:14 -04:00
2016-05-29 22:33:25 -07:00
2016-06-16 17:12:07 -07:00
2016-05-26 10:33:33 -07:00
2016-06-09 23:41:03 -07:00
2016-05-08 23:46:14 -04:00