created | 2023-05-13T20:48:38Z |
---|---|
begin | 2023-05-08T00:00:00Z |
end | 2023-05-09T00:00:00Z |
path | src/sys |
commits | 4 |
date | 2023-05-08T11:47:52Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
message |
As the nd6 mutex protects the lifetime of struct llinfo_nd6 ln, nd6_mtx must be held longer in nd6_rtrequest() case RTM_RESOLVE. OK kn@ |
date | 2023-05-08T13:14:21Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/nd6.c | log | diff | annotate |
message |
To make ND6 mp-safe, the life time of struct llinfo_nd6 *ln = rt->rt_llinfo has to be guaranteed. Replace the complicated logic in nd6_rtrequest() case RTM_ADD with what we have in ARP. This avoids accessing ln here. Digging through histroy shows a lot of refactoring that makes rt_expire handling in RTM_ADD obsolete. Just initialize it to 0. Cloning and local routes should never expire. If RTF_LLINFO is set, ln should not be NULL. So nd6_llinfo_settimer() was not reached in this case. While there, remove obsolete comments and #if 0 code that never worked. OK kn@ claudio@ |
date | 2023-05-08T13:22:13Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/pf.c | log | diff | annotate |
src/sys/netinet/ip_output.c | log | diff | annotate | |
src/sys/netinet6/ip6_output.c | log | diff | annotate | |
message |
The call to in_proto_cksum_out() is only needed before the packet is passed to ifp->if_output(). The fragment code has its own checksum calculation and the other paths end in goto bad. OK claudio@ |
date | 2023-05-08T23:52:36Z | |||
---|---|---|---|---|
author | dlg | |||
files | src/sys/net/pfvar_priv.h | log | diff | annotate |
message | fix up some formatting in the pf_state_list comment. |