]> git.baikalelectronics.ru Git - kernel.git/commit
ibmveth: Fix leak when recycling skb and hypervisor returns error
authorAnton Blanchard <anton@samba.org>
Thu, 25 Aug 2011 00:56:15 +0000 (17:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Aug 2011 00:56:15 +0000 (17:56 -0700)
commit5084e1fbf18b1a03194f55fad6b6a8cf5d0b3dfa
tree1319f7708560d509b2b91c05a64d093fa3794301
parentb62e9b52479d628a28fba76a812542cf37436808
ibmveth: Fix leak when recycling skb and hypervisor returns error

If h_add_logical_lan_buffer returns an error we need to free
the skb.

Signed-off-by: Anton Blanchard <anton@samba.org>
Cc: stable <stable@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ibmveth.c