]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: fix to correctly fetch l4 protocol outer header
authorHuazhong Tan <tanhuazhong@huawei.com>
Tue, 1 May 2018 18:55:58 +0000 (19:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 19:08:37 +0000 (15:08 -0400)
commit81f114a8771c4b2ea27e6f613590dcb2dcde93cb
treeaab91f17582ff74601884f4d654419b0ebeab4f1
parent95903e193ba42afe402434c34e2ee1d2d91597d0
net: hns3: fix to correctly fetch l4 protocol outer header

This patch fixes the function being used to fetch L4
protocol outer header. Mistakenly skb_inner_transport_header
API was being used earlier.

Fixes: 6e2406330b28 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c