Re: [PATCH] netem: fix possible skb leak
From: David Miller <davem@davemloft.net>
Date: 2012-05-01 17:41:17
From: David Miller <davem@davemloft.net>
Date: 2012-05-01 17:41:17
From: Eric Dumazet <redacted> Date: Sun, 29 Apr 2012 21:08:22 +0200
From: Eric Dumazet <edumazet@google.com> skb_checksum_help(skb) can return an error, we must free skb in this case. qdisc_drop(skb, sch) can also be feeded with a NULL skb (if skb_unshare() failed), so lets use this generic helper. Signed-off-by: Eric Dumazet <edumazet@google.com>
Applied and queued up for -stable, thanks.