[PATCH v2] gro: bug fix in identifying 0 length tcp packets

2022-04-22 Thread Kumara Parameshwaran
From: Kumara Parameshwaran As the minimum Ethernet frame size is 64 bytes, a 0 length tcp payload without tcp options would be 54 bytes and hence there would be padding. So it would be incorrect to use the packet length to determine the tcp data length. Fixes: 1e4cf4d6d4fb ("gro: cleanup") Cc: s

[PATCH v2] gro: bug fix in identifying 0 length tcp packets

2022-04-22 Thread Kumara Parameshwaran
From: Kumara Parameshwaran As the minimum Ethernet frame size is 64 bytes, a 0 length tcp payload without tcp options would be 54 bytes and hence there would be padding. So it would be incorrect to use the packet length to determine the tcp data length. Fixes: 1e4cf4d6d4fb ("gro: cleanup") Cc: s

[PATCH v2] gro: bug fix in identifying 0 length tcp packets

2022-04-22 Thread Kumara Parameshwaran
From: Kumara Parameshwaran As the minimum Ethernet frame size is 64 bytes, a 0 length tcp payload without tcp options would be 54 bytes and hence there would be padding. So it would be incorrect to use the packet length to determine the tcp data length. Fixes: 1e4cf4d6d4fb ("gro: cleanup") Cc: s