summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorJon Mason <jon.mason@intel.com>2013-01-19 13:02:31 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-21 03:48:13 +0400
commit765ccc7bc3d913e18b887a86de1e86db701a2d78 (patch)
treedcb913f3ba15bab0afd6dedbc29c9b9dbcb97b0b /drivers/i2c
parent19e17f7248e8ef72a8b625db7ddd99c0ad3da27c (diff)
downloadlinux-765ccc7bc3d913e18b887a86de1e86db701a2d78.tar.xz
ntb_netdev: correct skb leak
If ntb_netdev is unable to pass a new skb to the ntb transport for future rx packets, it should free the newly alloc'ed skb in the error case. Found by Kernel memory leak detector. Signed-off-by: Jon Mason <jon.mason@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions