summaryrefslogtreecommitdiffstats
path: root/net/sched/act_csum.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-06-08 23:23:01 +0200
committerDavid S. Miller <davem@davemloft.net>2016-06-08 22:41:38 -0700
commit9b15350f0d5c401c02eca15c4e6ca0603cff1a41 (patch)
tree46e9aa1152e7e6b7f9150ff41070e023a83e7a70 /net/sched/act_csum.c
parent0a46baaf634663d28038fc137239b71bf5385e5a (diff)
downloadlinux-stable-9b15350f0d5c401c02eca15c4e6ca0603cff1a41.tar.gz
linux-stable-9b15350f0d5c401c02eca15c4e6ca0603cff1a41.tar.bz2
linux-stable-9b15350f0d5c401c02eca15c4e6ca0603cff1a41.zip
qfq: don't leak skb if kzalloc fails
When we need to create a new aggregate to enqueue the skb we call kzalloc. If that fails we returned ENOBUFS without freeing the skb. Spotted during code review. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_csum.c')
0 files changed, 0 insertions, 0 deletions