appletalk: Fix skb leak when ipddp interface is not loaded
commitfb0e8709eef2d06ec5d5b1f30e043432a477c1fe
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Sep 2009 14:40:12 +0000 (9 11:40 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Oct 2009 19:40:29 +0000 (12 12:40 -0700)
tree7e904a7a69004337af541d77c977343b16dcb178
parentc839c5cede32a8f033b097819b3b9811e3e1ea26
appletalk: Fix skb leak when ipddp interface is not loaded

[ Upstream commit ffcfb8db540ff879c2a85bf7e404954281443414 ]

And also do a better job of returning proper NET_{RX,XMIT}_ values.

Based on a patch by Mark Smith.

This fixes CVE-2009-2903

Reported-by: Mark Smith <lk-netdev@lk-netdev.nosense.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/appletalk/ipddp.c
net/appletalk/aarp.c
net/appletalk/ddp.c