]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Fix mapping leak on LL2 rx flow
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Tue, 14 Mar 2017 13:26:00 +0000 (15:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Mar 2017 18:37:05 +0000 (11:37 -0700)
commit26d79e64c06601087275f7e8b6903973053b08a8
tree32bed2fca4567f562477a7d12081463a5b5db257
parent0c5d94e760ab313ac7d57c6cfaedf349b6f02b48
qed: Fix mapping leak on LL2 rx flow

When receiving an Rx LL2 packet, qed fails to unmap the previous buffer.

Fixes: 25f6af4f23ed ("qed: Add Light L2 support");
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_ll2.c