diff options
author | 2016-06-14 15:25:15 +0200 | |
---|---|---|
committer | 2016-06-15 14:47:46 -0700 | |
commit | 5d9649b3a524df9ccd15ac25ad6591089260fdbd (patch) | |
tree | 54cb7b03dfb4039ab3b7c988f6ad63f375c060c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | macsec: add rcu_barrier() on module exit (diff) | |
download | wireguard-linux-5d9649b3a524df9ccd15ac25ad6591089260fdbd.tar.xz wireguard-linux-5d9649b3a524df9ccd15ac25ad6591089260fdbd.zip |
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 (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions