User Details
- User Since
- Jun 4 2014, 7:25 AM (536 w, 5 d)
Thu, Sep 5
Wed, Sep 4
Probably for network related code ENOBUFS is better than ENOMEM.
I think you need to modify IFF_CANTCHANGE in sys/net/if.h
Aug 1 2024
- Document some features, also reduce the diff.
- Fix bug in mac:radix table: lookup addr doesn't work due to wrong args order in memcpy
Jul 30 2024
- Document some features, also reduce the diff.
Jul 3 2024
Maybe it would be better implement such feature via named flag, like ignore_source is implemented? Also if_gre(4) has the same problem.
Jul 2 2024
Jun 28 2024
I think it is firewall problem when it can not handle some unexpected data. Pfil hook expects that mbus has M_PKTHDR and m->m_pkthdr.len in this case should not be 0, even when m_len is 0. Thus, I think if doesn't work properly, it should be fixed in firewall.
May 20 2024
Mar 5 2024
Probably you can simplify some similar checks in in6_src.c too, e.g. IP6PO_VALID_PKTINFO and IP6PO_VALID_NHINFO. Not sure how it impacts your cache misses measurements.
Feb 26 2024
Probably we should increase esps_notdb or esps_invalid counter here.
Feb 19 2024
Dec 15 2023
I think https://reviews.freebsd.org/D32811, https://reviews.freebsd.org/D33064 also are related.
Dec 14 2023
Isn't IPv6 part affected too?
Dec 11 2023
Nov 21 2023
Nov 14 2023
Nov 1 2023
Oct 30 2023
Oct 17 2023
Looks similar to what linux does.
Sep 14 2023
Sep 13 2023
Sep 4 2023
Sep 1 2023
Aug 8 2023
Aug 3 2023
Aug 2 2023
Jul 24 2023
Jul 11 2023
I don't like adding extra printfs on fast path processing. This can easily make your system unresponsive.
Jun 28 2023
Jun 27 2023
I think previous logic was correct and derived from code before IPsec overhaul.
Jun 25 2023
Jun 7 2023
Jun 5 2023
May 29 2023
LGTM. Do you plan to implement NAT_T_FRAG in kernel somehow?
Apr 3 2023
LGTM.
Jan 23 2023
Jan 22 2023
Jan 18 2023
Jan 17 2023
Jan 10 2023
we can't recover why would we ever have identical 4-tuples in the hash
Dec 20 2022
Nov 28 2022
Nov 17 2022
Nov 10 2022
Oct 6 2022
Sep 21 2022
Sep 16 2022
I'll try to read the patch more carefully this weekend.
Sep 13 2022
Thanks, the patch is correct.
But I think we need rework the code to avoid such problem in future, or maybe add some comment, or add inline function like this:
Aug 22 2022
Can you take a look at the errata for 82599 that does report checksum error when card receives IPv4 UDP packets with zero checksum?
I found several discussion (on Opensense and FreeBSD forums) about this problem that appeared visible after this commit. Also, I found this PR. In our case we see noticeable RX errors on machines that handle SNMP traps.
Aug 17 2022
Aug 15 2022
Do you plan add similar support for IPv6? There is ICMP6_PACKET_TOO_BIG with the same meaning. But actually it is not unreach message, thus I'm not sure we should do it.
Jul 14 2022
Jul 7 2022
Good explanation. It would be nice to have something similar somewhere in comments.
Jun 9 2022
Superseded by D30398.
Jun 4 2022
May 19 2022
Apr 18 2022
Apr 11 2022
Apr 6 2022
Apr 4 2022
Apr 1 2022
Mar 2 2022
There are several comments that don't match our style. Those, that are like: