Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: macsec: Add scaffolding to change completion function signature

This patch adds temporary scaffolding so that the Crypto API
completion function can take a void * instead of crypto_async_request.
Once affected users have been converted this can be removed.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+4 -4
+4 -4
drivers/net/macsec.c
··· 528 528 } 529 529 } 530 530 531 - static void macsec_encrypt_done(struct crypto_async_request *base, int err) 531 + static void macsec_encrypt_done(crypto_completion_data_t *data, int err) 532 532 { 533 - struct sk_buff *skb = base->data; 533 + struct sk_buff *skb = crypto_get_completion_data(data); 534 534 struct net_device *dev = skb->dev; 535 535 struct macsec_dev *macsec = macsec_priv(dev); 536 536 struct macsec_tx_sa *sa = macsec_skb_cb(skb)->tx_sa; ··· 835 835 u64_stats_update_end(&stats->syncp); 836 836 } 837 837 838 - static void macsec_decrypt_done(struct crypto_async_request *base, int err) 838 + static void macsec_decrypt_done(crypto_completion_data_t *data, int err) 839 839 { 840 - struct sk_buff *skb = base->data; 840 + struct sk_buff *skb = crypto_get_completion_data(data); 841 841 struct net_device *dev = skb->dev; 842 842 struct macsec_dev *macsec = macsec_priv(dev); 843 843 struct macsec_rx_sa *rx_sa = macsec_skb_cb(skb)->rx_sa;