summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRongguang Wei <weirongguang@kylinos.cn>2026-06-17 17:28:54 +0800
committerJakub Kicinski <kuba@kernel.org>2026-06-18 18:18:11 -0700
commit0ec4b785987049031db437ef9d5bb962706b69bb (patch)
tree2130755375ec159d1d2cc5bbb8718964dfcdcb38 /include
parent4045f1c3d68ef4b589ae2587e6ff66ce8017daf2 (diff)
net: wangxun: don't advertise IFF_SUPP_NOFCS
Like commit a24162f18825("i40e: don't advertise IFF_SUPP_NOFCS"), ngbe and txgbe also advertises IFF_SUPP_NOFCS and allowing users to use the SO_NOFCS socket option. But the driver does not check skb->no_fcs, so this option is silently ignored. With this change, send() fails with -EPROTONOSUPPORT when AF_PACKET socket is set SO_NOFCS option. Signed-off-by: Rongguang Wei <weirongguang@kylinos.cn> Link: https://patch.msgid.link/20260617092854.133992-1-clementwei90@163.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions