created | 2023-05-13T12:45:36Z |
---|---|
begin | 2023-05-07T00:00:00Z |
end | 2023-05-08T00:00:00Z |
path | src/sys |
commits | 3 |
date | 2023-05-07T12:45:21Z | |||
---|---|---|---|---|
author | kn | |||
files | src/sys/net/pf_osfp.c | log | diff | annotate |
message |
Remove net lock from DIOCOSFP{FLUSH,ADD,GET} aka. OS fingerprinting pf_osfp.c contains all the locking for these three ioctls, everything is protected by the pf lock; assert/document it and inline acess to the global list to eliminate useless function variables. OK bluhm sashan |
date | 2023-05-07T16:23:23Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/net/if.c | log | diff | annotate |
src/sys/net/if_bridge.c | log | diff | annotate | |
src/sys/net/if_var.h | log | diff | annotate | |
src/sys/net/pf.c | log | diff | annotate | |
src/sys/net/pf_norm.c | log | diff | annotate | |
src/sys/netinet/if_ether.c | log | diff | annotate | |
src/sys/netinet/ip_output.c | log | diff | annotate | |
message |
I preparation for TSO in software, cleanup the fragment code. Use if_output_ml() to send mbuf lists to interfaces. This can be used for TSO, fragments, ARP and ND6. Rename variable fml to ml. In pf_route6() split the if else block. Put the safety check (hlen + firstlen < tlen) into ip_fragment(). It makes the code correct in case the packet is too short to be fragmented. This should not happen, but other functions also have this logic. No functional change. OK sashan@ |
date | 2023-05-07T16:23:24Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet6/ip6_output.c | log | diff | annotate |
src/sys/netinet6/nd6.c | log | diff | annotate | |
src/sys/netinet6/nd6_nbr.c | log | diff | annotate | |
message |
I preparation for TSO in software, cleanup the fragment code. Use if_output_ml() to send mbuf lists to interfaces. This can be used for TSO, fragments, ARP and ND6. Rename variable fml to ml. In pf_route6() split the if else block. Put the safety check (hlen + firstlen < tlen) into ip_fragment(). It makes the code correct in case the packet is too short to be fragmented. This should not happen, but other functions also have this logic. No functional change. OK sashan@ |