bpf: sockmap, added comments describing update proto rules
authorJohn Fastabend <john.fastabend@gmail.com>
Thu, 21 Dec 2023 23:23:24 +0000 (15:23 -0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Thu, 4 Jan 2024 00:50:16 +0000 (16:50 -0800)
commit7865dfb1eb941ddd25802a9e13b6ff5f3f4dc02f
tree80e1650f741a44c94e7ed22c15545aa603839b8f
parent16b2f264983dc264c1560cc0170e760dec1bf54f
bpf: sockmap, added comments describing update proto rules

Add a comment describing that the psock update proto callbback can be
called multiple times and this must be safe.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/r/20231221232327.43678-3-john.fastabend@gmail.com
include/linux/skmsg.h