Message ID | alpine.DEB.2.22.394.2010231739500.2707@hadrien (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | cxgb4/ch_ktls: fix call_kern.cocci warnings | expand |
--- a/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c +++ b/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c @@ -1589,7 +1589,7 @@ static int chcr_end_part_handler(struct /* TAG needs to be calculated so, need to send complete record, * free the original skb and send a new one. */ - nskb = alloc_skb(0, GFP_KERNEL); + nskb = alloc_skb(0, GFP_ATOMIC); if (!nskb) { dev_kfree_skb_any(skb); return NETDEV_TX_BUSY;