[PATCH v2 0/2] net: Fix BUG_ON for segment frag_list with mangled gso_size and head_frag is true

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This serices fix the BUG_ON when segment frag_list with mangled gso_size
and head_frag is true. This patch was tested on kernel 6.6.35.

v2 changes:
  Updated with remove the sg condition may be more make sense.

Fred Li (2):
  net: Fix skb_segment when splitting gso_size mangled skb having
    linear-headed frag_list whose head_frag=true
  test_bpf: Introduce an skb_segment test for frag_list whose
    head_frag=true and gso_size was mangled

 lib/test_bpf.c    | 64 +++++++++++++++++++++++++++++++++++++++++++++++
 net/core/skbuff.c |  2 +-
 2 files changed, 65 insertions(+), 1 deletion(-)

-- 
2.33.0





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux