mbox series

[PATCHv3,net-next,0/2] net: fix the features flag in sctp_gso_segment

Message ID cover.1610703289.git.lucien.xin@gmail.com (mailing list archive)
Headers show
Series net: fix the features flag in sctp_gso_segment | expand

Message

Xin Long Jan. 15, 2021, 9:36 a.m. UTC
Patch 1/2 is to improve the code in skb_segment(), and it is needed
by Patch 2/2.

v1->v2:
  - see Patch 1/2.
v2->v3:
  - change Patch 2/2 to the right patch.

Xin Long (2):
  net: move the hsize check to the else block in skb_segment
  sctp: remove the NETIF_F_SG flag before calling skb_segment

 net/core/skbuff.c  | 11 ++++++-----
 net/sctp/offload.c |  2 +-
 2 files changed, 7 insertions(+), 6 deletions(-)