summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorJoe Stringer <joe@wand.net.nz>2020-03-30 00:53:39 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-03-30 22:45:04 +0200
commit71489e21d720a09388b565d60ef87ae993c10528 (patch)
tree0ebc9f8445150e0cf11c71c628ba69f7ae50da15 /net/core
parentbpf: Add socket assign support (diff)
downloadlinux-71489e21d720a09388b565d60ef87ae993c10528.tar.xz
linux-71489e21d720a09388b565d60ef87ae993c10528.zip
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 <joe@wand.net.nz> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20200329225342.16317-3-joe@wand.net.nz
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions