created | 2025-03-05T11:32:14Z |
---|---|
begin | 2025-03-03T00:00:00Z |
end | 2025-03-04T00:00:00Z |
path | src/sys |
commits | 1 |
date | 2025-03-03T22:25:58Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/if_vxlan.c | log | diff | annotate |
message |
Shared net lock and socket lock are sufficient for vxlan. Use shared net lock when calling ip_output() or ip6_output(). While there, check if mbuf list is empty before grabbing lock. Also do not pass around uninitialized structures from the stack. Use memset() to start with clean memory. inp_upcall and sobind() are protected by socket lock. OK mvs@ |