diff options
author | Sabrina Dubroca <[email protected]> | 2019-11-25 14:48:58 +0100 |
---|---|---|
committer | Steffen Klassert <[email protected]> | 2019-12-09 09:59:07 +0100 |
commit | 7b3801927e52f8621de311277f7fc727635019e7 (patch) | |
tree | 9d02419d2aa75fd8ac852aabb720abd2ae8075d7 /tools/perf/util/trace-event-scripting.c | |
parent | b50b0580d27bc45a0637aefc8bac4d31aa85771a (diff) |
xfrm: introduce xfrm_trans_queue_net
This will be used by TCP encapsulation to write packets to the encap
socket without holding the user socket's lock. Without this reinjection,
we're already holding the lock of the user socket, and then try to lock
the encap socket as well when we enqueue the encrypted packet.
While at it, add a BUILD_BUG_ON like we usually do for skb->cb, since
it's missing for struct xfrm_trans_cb.
Co-developed-by: Herbert Xu <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: Sabrina Dubroca <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions