netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 2/2] macsec: fix checksumming after decryption
@ 2019-06-30 20:46 Andreas Steinmetz
  2019-07-01  1:47 ` Willem de Bruijn
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Steinmetz @ 2019-06-30 20:46 UTC (permalink / raw)
  To: netdev; +Cc: Sabrina Dubroca

Fix checksumming after decryption.

Signed-off-by: Andreas Steinmetz <ast@domdv.de>

--- a/drivers/net/macsec.c	2019-06-30 22:14:10.250285314 +0200
+++ b/drivers/net/macsec.c	2019-06-30 22:15:11.931230417 +0200
@@ -869,6 +869,7 @@
 
 static void macsec_finalize_skb(struct sk_buff *skb, u8 icv_len, u8 hdr_len)
 {
+	skb->ip_summed = CHECKSUM_NONE;
 	memmove(skb->data + hdr_len, skb->data, 2 * ETH_ALEN);
 	skb_pull(skb, hdr_len);
 	pskb_trim_unique(skb, skb->len - icv_len);


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

end of thread, other threads:[~2019-07-03  1:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-30 20:46 [PATCH net 2/2] macsec: fix checksumming after decryption Andreas Steinmetz
2019-07-01  1:47 ` Willem de Bruijn
2019-07-02  4:24   ` Andreas Steinmetz
2019-07-02 14:35     ` Willem de Bruijn
2019-07-02 19:47       ` Andreas Steinmetz
2019-07-03  1:47         ` Willem de Bruijn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).