summaryrefslogtreecommitdiff
path: root/privs.h
diff options
context:
space:
mode:
Diffstat (limited to 'privs.h')
0 files changed, 0 insertions, 0 deletions
f='/cgit.cgi/linux/net-next.git/diff/?id=5d9649b3a524df9ccd15ac25ad6591089260fdbd&id2=b196c22af5c3ff784c472c80f6fb4e5fad67b2ac'>diff)
macsec: allocate sg and iv on the heap
For the crypto callbacks to work properly, we cannot have sg and iv on the stack. Use kmalloc instead, with a single allocation for aead_request + scatterlist + iv. Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat