linux-stable/drivers/net
Lipeng 669ff2a9aa net: hns3: fix a bug when alloc new buffer
[ Upstream commit b9077428ec ]

When alloce new buffer to HW, should unmap the old buffer first.
This old code map the old buffer but not unmap the old buffer,
this patch fixes it.

Fixes: 76ad4f0 (net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC)

Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-20 10:10:33 +01:00
..
appletalk License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
arcnet License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bonding bonding: fix slave stuck in BOND_LINK_FAIL state 2017-11-08 16:07:10 +09:00
caif License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
can can: peak/pcie_fd: fix potential bug in restarting tx queue 2017-12-14 09:52:47 +01:00
cris License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dsa net: dsa: lan9303: Do not disable switch fabric port 0 at .probe 2017-12-20 10:10:32 +01:00
ethernet net: hns3: fix a bug when alloc new buffer 2017-12-20 10:10:33 +01:00
fddi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fjes
hamradio License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hippi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hyperv hv_netvsc: fix send buffer failure on MTU change 2017-09-21 15:17:16 -07:00
ieee802154 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ipvlan ipvlan: fix ipv6 outbound device 2017-12-17 15:08:00 +01:00
phy License cleanup: add SPDX license identifiers to some files 2017-11-02 10:04:46 -07:00
plip
ppp ppp: Destroy the mutex when cleanup 2017-12-20 10:10:28 +01:00
slip License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
team License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usb usbnet: fix alignment for frames with no ethernet header 2017-12-17 15:07:56 +01:00
vmxnet3
wan License cleanup: add SPDX license identifiers to some files 2017-11-02 10:04:46 -07:00
wimax License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
wireless qtnfmac: modify full Tx queue error reporting 2017-12-20 10:10:30 +01:00
xen-netback xen-netfront, xen-netback: Use correct minimum MTU values 2017-10-16 16:00:44 -04:00
dummy.c
eql.c
geneve.c geneve: fix fill_info when link down 2017-12-14 09:53:11 +01:00
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: fix memory leaks when skb_to_sgvec fails 2017-10-11 14:07:20 -07:00
macvlan.c
macvtap.c tap: reference to KVA of an unloaded module causes kernel panic 2017-10-28 19:17:21 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: accept UFO datagrams from tuntap and packet 2017-12-17 15:07:58 +01:00
tun.c net: accept UFO datagrams from tuntap and packet 2017-12-17 15:07:58 +01:00
veth.c
virtio_net.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-01 17:42:05 -07:00
vrf.c net: vrf: correct FRA_L3MDEV encode type 2017-11-02 16:20:53 +09:00
vsockmon.c
vxlan.c vxlan: fix the issue that neigh proxy blocks all icmpv6 packets 2017-11-24 08:37:03 +01:00
xen-netfront.c xen-netfront, xen-netback: Use correct minimum MTU values 2017-10-16 16:00:44 -04:00