]> Git Repo - linux.git/commit
netem: fix possible skb leak
authorEric Dumazet <[email protected]>
Sun, 29 Apr 2012 09:08:22 +0000 (09:08 +0000)
committerDavid S. Miller <[email protected]>
Tue, 1 May 2012 17:40:48 +0000 (13:40 -0400)
commit116a0fc31c6c9b8fc821be5a96e5bf0b43260131
treef4b8561387b34fd4eec9b8a2d599937b2375d741
parente072b3fad5f3915102c94628b4971f52ff99dd05
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 <[email protected]>
Cc: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/sch_netem.c
This page took 0.052175 seconds and 4 git commands to generate.