diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-29 09:08:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-01 13:40:48 -0400 |
commit | 116a0fc31c6c9b8fc821be5a96e5bf0b43260131 (patch) | |
tree | f4b8561387b34fd4eec9b8a2d599937b2375d741 /REPORTING-BUGS | |
parent | e072b3fad5f3915102c94628b4971f52ff99dd05 (diff) | |
download | linux-116a0fc31c6c9b8fc821be5a96e5bf0b43260131.tar.bz2 |
netem: fix possible skb leak
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>
Cc: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions