Files
erofs-linux/include/net
Joe Stringer 7ae215d23c bpf: Don't refcount LISTEN sockets in sk_assign()
Avoid taking a reference on listen sockets by checking the socket type
in the sk_assign and in the corresponding skb_steal_sock() code in the
the transport layer, and by ensuring that the prefetch free (sock_pfree)
function uses the same logic to check whether the socket is refcounted.

Suggested-by: Martin KaFai Lau <[email protected]>
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]
2020-03-30 13:45:05 -07:00
..
…
…
…
…
…
…
…
…
…
2020-02-24 13:31:42 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-03-04 13:25:55 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2020-03-20 15:56:55 +01:00
…
…
…
…
2020-03-09 22:34:58 +01:00
…
…
…
…
…
…
…