summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLipeng <lipeng321@huawei.com>2017-10-23 14:51:01 +0300
committerDavid S. Miller <davem@davemloft.net>2017-10-24 03:16:41 +0300
commitb9077428ec5569aacb2952d8a2ffb51c8988d3c2 (patch)
tree1ab53368d389c0e6e9efd6155598a44f6492e2b0 /include/linux
parent5908064a0beb074b637df1e865c1f0738157ce8e (diff)
downloadlinux-b9077428ec5569aacb2952d8a2ffb51c8988d3c2.tar.xz
net: hns3: fix a bug when alloc new buffer
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions