diff options
author | Joe Stringer <[email protected]> | 2020-03-29 15:53:39 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-03-30 13:45:04 -0700 |
commit | 71489e21d720a09388b565d60ef87ae993c10528 (patch) | |
tree | 0ebc9f8445150e0cf11c71c628ba69f7ae50da15 /lib/string_helpers.c | |
parent | cf7fbe660f2dbd738ab58aea8e9b0ca6ad232449 (diff) |
net: Track socket refcounts in skb_steal_sock()
Refactor the UDP/TCP handlers slightly to allow skb_steal_sock() to make
the determination of whether the socket is reference counted in the case
where it is prefetched by earlier logic such as early_demux.
Signed-off-by: Joe Stringer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions