]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: replace skb->csum_not_inet with skb_csum_is_sctp
authorXin Long <lucien.xin@gmail.com>
Fri, 22 Jan 2021 09:31:01 +0000 (17:31 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 23 Jan 2021 03:27:15 +0000 (19:27 -0800)
commitf645a5b1bf7b6425549a753644bf8f0e7bfd0647
tree996db7585779e9ee6f64cc74d620759ddc06ab3f
parent654ff1e020f2a82796b5a8ce1aae9671f8dc4f2c
net: hns3: replace skb->csum_not_inet with skb_csum_is_sctp

Commit 3d985ffbf1cd ("net: add inline function skb_csum_is_sctp")
missed replacing skb->csum_not_inet check in hns3. This patch is
to replace it with skb_csum_is_sctp().

Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/3ad3c22c08beb0947f5978e790bd98d2aa063df9.1611307861.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c