In ntb_netdev_open, when ntb_transport_rx_enqueue fails the skb that was
attempting to be enqueued is not freed. Free this skb on the
ntb_transport_rx_enqueue error.
Signed-off-by: Jon Mason
---
drivers/net/ntb_netdev.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
In ntb_netdev_open, when ntb_transport_rx_enqueue fails the skb that was
attempting to be enqueued is not freed. Free this skb on the
ntb_transport_rx_enqueue error.
Signed-off-by: Jon Mason jon.ma...@intel.com
---
drivers/net/ntb_netdev.c | 4 +++-
1 file changed, 3 insertions(+), 1
2 matches
Mail list logo