diff options
author | 2021-01-15 17:36:39 +0800 | |
---|---|---|
committer | 2021-01-16 19:05:59 -0800 | |
commit | 1fef8544bf41fb77d6603feb9a31cd76b4578489 (patch) | |
tree | 35f127d43a7ff29fe266342bb55d0b9d396dad38 /net/sched/cls_api.c | |
parent | net: move the hsize check to the else block in skb_segment (diff) | |
download | linux-rng-1fef8544bf41fb77d6603feb9a31cd76b4578489.tar.xz linux-rng-1fef8544bf41fb77d6603feb9a31cd76b4578489.zip |
sctp: remove the NETIF_F_SG flag before calling skb_segment
It makes more sense to clear NETIF_F_SG instead of set it when
calling skb_segment() in sctp_gso_segment(), since SCTP GSO is
using head_skb's fraglist, of which all frags are linear skbs.
This will make SCTP GSO code more understandable.
Suggested-by: Alexander Duyck <alexander.duyck@gmail.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions