summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorJarek Poplawski <jarkao2@gmail.com>2009-09-27 10:57:02 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-12 12:40:30 -0700
commit84b176798b6526e88cf34a47f554359f0be42f98 (patch)
tree41281595f16c566c084dff3265d9664210f1307b /net/dccp
parentfb0e8709eef2d06ec5d5b1f30e043432a477c1fe (diff)
ax25: Fix possible oops in ax25_make_new
[ Upstream commit 8c185ab6185bf5e67766edb000ce428269364c86 ] In ax25_make_new, if kmemdup of digipeat returns an error, there would be an oops in sk_free while calling sk_destruct, because sk_protinfo is NULL at the moment; move sk->sk_destruct initialization after this. BTW of reported-by: Bernard Pidoux F6BVP <f6bvp@free.fr> Signed-off-by: Jarek Poplawski <jarkao2@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions