summaryrefslogtreecommitdiffstats
path: root/kernel/Kconfig.preempt
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-10-29 14:45:58 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-29 21:07:37 +0100
commitd46a3d0d07ba539aea5b0e1ad30e568f0cb03576 (patch)
tree2db10dd06537a27bbdd16080c56db33f884812bb /kernel/Kconfig.preempt
parent[PATCH] Fix GFP_HIGHMEM slab panic (diff)
downloadlinux-d46a3d0d07ba539aea5b0e1ad30e568f0cb03576.tar.xz
linux-d46a3d0d07ba539aea5b0e1ad30e568f0cb03576.zip
[PATCH] taskstats: fix sk_buff leak
'return genlmsg_cancel()' in taskstats_user_cmd/taskstats_exit_send potentially leaks a skb. Unless we pass 'rep_skb' to the netlink layer we own sk_buff. This means we should always do kfree_skb() on failure. [ Thomas acked and pointed out missing return value in original version ] Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Acked-by: Thomas Graf <tgraf@suug.ch> Cc: Andrew Morton <akpm@osdl.org> Cc: Shailabh Nagar <nagar@watson.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Jay Lan <jlan@sgi.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/Kconfig.preempt')
0 files changed, 0 insertions, 0 deletions