[PATCH net-next v2] macsec: fix validation failed in asynchronous operation.

David Miller davem at davemloft.net
Tue Feb 21 10:14:11 PST 2017


From: Ryder Lee <ryder.lee at mediatek.com>
Date: Tue, 21 Feb 2017 17:40:45 +0800

> MACSec test failed when asynchronous crypto operations is used. It
> encounters packet validation failed since macsec_skb_cb(skb)->valid
> is always 'false'.
> 
> This patch adds missing "macsec_skb_cb(skb)->valid = true" in
> macsec_decrypt_done() when "err == 0".
> 
> Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>

Applied, thanks.



More information about the Linux-mediatek mailing list