diff options
| author | Oleg Nesterov <[email protected]> | 2006-10-29 13:45:58 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-29 20:07:37 +0000 |
| commit | d46a3d0d07ba539aea5b0e1ad30e568f0cb03576 (patch) | |
| tree | 2db10dd06537a27bbdd16080c56db33f884812bb /scripts/basic/docproc.c | |
| parent | [PATCH] Fix GFP_HIGHMEM slab panic (diff) | |
| download | kernel-d46a3d0d07ba539aea5b0e1ad30e568f0cb03576.tar.gz kernel-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 <[email protected]>
Acked-by: Thomas Graf <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Shailabh Nagar <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Jay Lan <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
