commit | 765ccc7bc3d913e18b887a86de1e86db701a2d78 | [log] [tgz] |
---|---|---|
author | Jon Mason <jon.mason@intel.com> | Sat Jan 19 02:02:31 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 20 15:48:13 2013 -0800 |
tree | dcb913f3ba15bab0afd6dedbc29c9b9dbcb97b0b | |
parent | 19e17f7248e8ef72a8b625db7ddd99c0ad3da27c [diff] |
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>