]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netlabel: netlink_unicast calls kfree_skb on error path by itself
authorDenis V. Lunev <den@openvz.org>
Thu, 10 Jul 2008 23:53:39 +0000 (16:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jul 2008 23:53:39 +0000 (16:53 -0700)
commitfe785bee05f08d37b34b7399d003b74199274ce4
treed87c30deefc4c35d5794879b3430470d554ae2a6
parent2e655571c618434c24ac2ca989374fdd84470d6d
netlabel: netlink_unicast calls kfree_skb on error path by itself

So, no need to kfree_skb here on the error path. In this case we can
simply return.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlabel/netlabel_cipso_v4.c
net/netlabel/netlabel_mgmt.c
net/netlabel/netlabel_unlabeled.c