Netdev List
 help / color / mirror / Atom feed
* IP GRO verifies csum again?
@ 2019-07-18  7:49 Jacob Wen
  2019-07-18  8:27 ` Eric Dumazet
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Wen @ 2019-07-18  7:49 UTC (permalink / raw)
  To: netdev; +Cc: herbert

Hi,

inet_gro_receive verifies IP csum but a NIC already did so and set 
CHECKSUM_UNNECESSARY.


https://github.com/torvalds/linux/blob/v5.2/net/ipv4/af_inet.c#L1432-L1433

if (unlikely(ip_fast_csum((u8 *)iph, 5)))

         goto out_unlock;


Is this a bug?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-18  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-18  7:49 IP GRO verifies csum again? Jacob Wen
2019-07-18  8:27 ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox