Page MenuHomeFreeBSD
Feed Advanced Search

Mar 13 2021

melifaro committed rG8aafa7a02763: Flush remaining routes from the routing table during VNET shutdown. (authored by melifaro).
Flush remaining routes from the routing table during VNET shutdown.
Mar 13 2021, 8:26 PM
melifaro committed rGd81b3bb4b19d: Fix various NOINET* builds broken by 145bf6c0af48. (authored by melifaro).
Fix various NOINET* builds broken by 145bf6c0af48.
Mar 13 2021, 8:26 PM
melifaro committed rG3489286a5f36: Fix blackhole/reject routes. (authored by melifaro).
Fix blackhole/reject routes.
Mar 13 2021, 8:26 PM

Mar 11 2021

melifaro committed rGd4803b958cff: Fix 'in6_purgeaddr: err=65, destination address delete failed' message. (authored by melifaro).
Fix 'in6_purgeaddr: err=65, destination address delete failed' message.
Mar 11 2021, 9:45 PM
melifaro committed rG83cedad13972: Fix 'in6_purgeaddr: err=65, destination address delete failed' message. (authored by melifaro).
Fix 'in6_purgeaddr: err=65, destination address delete failed' message.
Mar 11 2021, 8:37 AM
melifaro added a comment to D29190: pf: Simplify cleanup.
In D29190#653711, @kp wrote:

Can counter ptr really be NULL is these cases? If yes, I'd rather retain the existing checks as they indicate that this a valid possibility.

It can happen, but really only if we fail to allocate memory (see line 520-521).

Also, counter(9) man page says nothing about the free(NULL) use case.

Until D29189 it couldn't handle that. This commit builds on top of that.

Yep :-) What I'm saying is that the man page should also be updated to reflect the code changes.

Mar 11 2021, 8:30 AM
melifaro committed rG2d227a6ec371: Fix dst/netmask handling in routing socket code. (authored by melifaro).
Fix dst/netmask handling in routing socket code.
Mar 11 2021, 8:27 AM
melifaro committed rG19fdc2029768: Fix dpdk/ldradix fib lookup algorithm preference calculation. (authored by melifaro).
Fix dpdk/ldradix fib lookup algorithm preference calculation.
Mar 11 2021, 8:27 AM
melifaro committed rGdba80ca2cfb0: Make in_localip_more() fib-aware. (authored by melifaro).
Make in_localip_more() fib-aware.
Mar 11 2021, 8:27 AM

Mar 10 2021

melifaro committed rG9cd7f222d5c9: Enforce net epoch in in6_selectsrc(). (authored by melifaro).
Enforce net epoch in in6_selectsrc().
Mar 10 2021, 10:29 PM
melifaro committed rG8a25d3f6ce34: Fix dpdk/ldradix fib lookup algorithm preference calculation. (authored by melifaro).
Fix dpdk/ldradix fib lookup algorithm preference calculation.
Mar 10 2021, 10:29 PM
melifaro committed rG5b64694c8a55: Fix setting static entries for arp/ndp. (authored by melifaro).
Fix setting static entries for arp/ndp.
Mar 10 2021, 10:29 PM
melifaro committed rG22f24233ba2a: Fix arp/ndp deletion broken by 2fe5a79425c7. (authored by melifaro).
Fix arp/ndp deletion broken by 2fe5a79425c7.
Mar 10 2021, 10:29 PM
melifaro committed rGe1bdecd9f60a: Fix dst/netmask handling in routing socket code. (authored by melifaro).
Fix dst/netmask handling in routing socket code.
Mar 10 2021, 10:29 PM
melifaro committed rG6c3f613b6e65: Fix NOINET6 build broken by 2fe5a79425c7. (authored by melifaro).
Fix NOINET6 build broken by 2fe5a79425c7.
Mar 10 2021, 10:29 PM
melifaro committed rGd9bcd8e7a2dd: Add ifa_try_ref() to simplify ifa handling inside epoch. (authored by melifaro).
Add ifa_try_ref() to simplify ifa handling inside epoch.
Mar 10 2021, 10:29 PM
melifaro committed rGf67641675958: Make in_localip_more() fib-aware. (authored by melifaro).
Make in_localip_more() fib-aware.
Mar 10 2021, 10:29 PM
melifaro committed rG3f241e7aac2e: Remove per-packet ifa refcounting from IPv6 fast path. (authored by melifaro).
Remove per-packet ifa refcounting from IPv6 fast path.
Mar 10 2021, 10:28 PM
melifaro committed rG4904fbfc7201: Remove now-unused RTF_RNH_LOCKED route flag. (authored by melifaro).
Remove now-unused RTF_RNH_LOCKED route flag.
Mar 10 2021, 10:28 PM
melifaro committed rG3cff9b2ccfd0: Do not reference returned ifa in in6_ifawithifp(). (authored by melifaro).
Do not reference returned ifa in in6_ifawithifp().
Mar 10 2021, 10:28 PM
melifaro closed D29116: Flush remaining routes from the routing table during VNET shutdown..
Mar 10 2021, 9:29 PM
melifaro committed rGb1d63265ac39: Flush remaining routes from the routing table during VNET shutdown. (authored by melifaro).
Flush remaining routes from the routing table during VNET shutdown.
Mar 10 2021, 9:29 PM
melifaro accepted D29195: pf: Remove redundant kif != NULL checks.
Mar 10 2021, 8:57 PM
melifaro accepted D29194: pf: Factor out pf_krule_free().
Mar 10 2021, 8:55 PM
melifaro added a comment to D29190: pf: Simplify cleanup.

Can counter ptr really be NULL is these cases? If yes, I'd rather retain the existing checks as they indicate that this a valid possibility.

Mar 10 2021, 8:54 PM

Mar 9 2021

melifaro accepted D29146: kern: pull pru_sockaddr call out into sosockaddr().
Mar 9 2021, 8:33 PM
melifaro updated the summary of D29116: Flush remaining routes from the routing table during VNET shutdown..
Mar 9 2021, 8:07 AM

Mar 8 2021

melifaro updated the diff for D29116: Flush remaining routes from the routing table during VNET shutdown..

Implement a cleaner fix.

Mar 8 2021, 11:21 PM
melifaro committed rG7634919e15f1: Fix 'in6_purgeaddr: err=65, destination address delete failed' message. (authored by melifaro).
Fix 'in6_purgeaddr: err=65, destination address delete failed' message.
Mar 8 2021, 9:29 PM
melifaro closed D29121: Fix 'in6_purgeaddr: err=65, destination address delete failed' message..
Mar 8 2021, 9:29 PM

Mar 7 2021

melifaro committed rGd5be41beb7c4: Fix dpdk/ldradix fib lookup algorithm preference calculation. (authored by melifaro).
Fix dpdk/ldradix fib lookup algorithm preference calculation.
Mar 7 2021, 10:19 PM
melifaro added reviewers for D29121: Fix 'in6_purgeaddr: err=65, destination address delete failed' message.: network, kp.
Mar 7 2021, 8:53 PM
melifaro requested review of D29121: Fix 'in6_purgeaddr: err=65, destination address delete failed' message..
Mar 7 2021, 8:52 PM
melifaro updated the summary of D29116: Flush remaining routes from the routing table during VNET shutdown..
Mar 7 2021, 6:51 PM
melifaro requested review of D29116: Flush remaining routes from the routing table during VNET shutdown..
Mar 7 2021, 6:39 PM

Feb 25 2021

melifaro committed rG5dde6e460a1f: Fix nd6 rib_action() handling. (authored by melifaro).
Fix nd6 rib_action() handling.
Feb 25 2021, 9:57 PM
melifaro committed rG52d4c9e2fa02: Fix crash with rtadv-originated multipath IPv6 routes. (authored by melifaro).
Fix crash with rtadv-originated multipath IPv6 routes.
Feb 25 2021, 9:57 PM
melifaro committed rG7dfdd039a358: Fix crash with rtadv-originated multipath IPv6 routes. (authored by melifaro).
Fix crash with rtadv-originated multipath IPv6 routes.
Feb 25 2021, 9:45 PM
melifaro added a watcher for Jails: melifaro.
Feb 25 2021, 9:29 AM

Feb 24 2021

melifaro added inline comments to D28886: Update rtsock_l3 test after 2fe5a79425c79f7b828acd91da66d97230925fc8.
Feb 24 2021, 11:24 PM
melifaro committed rGcc3fa1e29fda: Fix crash with rtadv-originated multipath IPv6 routes. (authored by melifaro).
Fix crash with rtadv-originated multipath IPv6 routes.
Feb 24 2021, 10:47 PM
melifaro accepted D28918: net: remove legacy in_addmulti().

+1 for removing and not MFCin.

Feb 24 2021, 9:06 PM

Feb 23 2021

melifaro committed rGea10694336b9: Fix nd6 rib_action() handling. (authored by melifaro).
Fix nd6 rib_action() handling.
Feb 23 2021, 10:44 PM
melifaro committed rG9c4a8d24f0ff: Fix nd6 rib_action() handling. (authored by melifaro).
Fix nd6 rib_action() handling.
Feb 23 2021, 10:41 PM

Feb 22 2021

melifaro committed rG596417283722: Simplify ifa/ifp refcounting in the routing stack. (authored by melifaro).
Simplify ifa/ifp refcounting in the routing stack.
Feb 22 2021, 11:39 PM
melifaro closed D28837: Simplify ifa/ifp refcounting in the routing stack..
Feb 22 2021, 11:38 PM
melifaro closed D28836: Add if_try_ref() to simplify refcount handling inside epoch.
Feb 22 2021, 11:38 PM
melifaro committed rG7563019bc693: Add if_try_ref() to simplify refcount handling inside epoch. (authored by melifaro).
Add if_try_ref() to simplify refcount handling inside epoch.
Feb 22 2021, 11:38 PM
melifaro added inline comments to D28837: Simplify ifa/ifp refcounting in the routing stack..
Feb 22 2021, 9:54 PM
melifaro accepted D28860: arp/nd: Cope with late calls to iflladdr_event.
Feb 22 2021, 8:08 PM

Feb 21 2021

melifaro updated the summary of D28837: Simplify ifa/ifp refcounting in the routing stack..
Feb 21 2021, 2:49 PM
melifaro requested review of D28837: Simplify ifa/ifp refcounting in the routing stack..
Feb 21 2021, 2:29 PM
melifaro retitled D28836: Add if_try_ref() to simplify refcount handling inside epoch from Add if_try_ref() failing when current refcount=0. Fix ifnet_byindex_ref() by using if_try_ref() instead of if_ref(). to Add if_try_ref() to simplify refcount handling inside epoch.
Feb 21 2021, 2:09 PM
melifaro requested review of D28836: Add if_try_ref() to simplify refcount handling inside epoch.
Feb 21 2021, 2:00 PM

Feb 20 2021

melifaro committed rGf17f94cd1b99: Add arp/ndp tests in addition to rtsock ll tests. (authored by melifaro).
Add arp/ndp tests in addition to rtsock ll tests.
Feb 20 2021, 6:28 PM
melifaro committed rGe5b394f2d0d9: Fix setting static entries for arp/ndp. (authored by melifaro).
Fix setting static entries for arp/ndp.
Feb 20 2021, 6:28 PM

Feb 19 2021

melifaro added a comment to D28812: Add arp/ndp tests in addition to rtsock ll tests..
In D28812#645023, @kp wrote:

We could potentially use pft_ping.py to actually verify that the stack sets the correct MAC address on packets (and thus also check that the insertion really succeeded), but this'll catch a number of potential issues already.

IMHO there are multiple things worth testing:
(1) rtsock API - that's what we have in tests/sys/net/routing/test_rtsock_lladdr
(2) that actual arp ndp binaries work (as they have logic other than just sending a proper message - that's what these tests are targeting
(3) datapath actually uses these entries - partially covered in IPv4/IPv6 multipath tests, but we certainly need an explicit tests for these as well

Feb 19 2021, 10:33 PM
melifaro requested review of D28812: Add arp/ndp tests in addition to rtsock ll tests..
Feb 19 2021, 10:18 PM
melifaro committed rGf9e1cd6c9920: Fix arp/ndp deletion broken by 2fe5a79425c7. (authored by melifaro).
Fix arp/ndp deletion broken by 2fe5a79425c7.
Feb 19 2021, 9:18 PM
melifaro closed D28804: Fix `arp -d` / `ndp -d`..
Feb 19 2021, 9:18 PM
melifaro added inline comments to D28804: Fix `arp -d` / `ndp -d`..
Feb 19 2021, 9:08 PM
melifaro added a comment to D28804: Fix `arp -d` / `ndp -d`..

Is this a problem of the kernel or the laziness of the arp code?

I'd say it's the problem of both due to the undefined contract.

Feb 19 2021, 9:01 PM
melifaro updated the summary of D28804: Fix `arp -d` / `ndp -d`..
Feb 19 2021, 8:07 PM
melifaro updated the diff for D28804: Fix `arp -d` / `ndp -d`..

Fix compilation.

Feb 19 2021, 7:58 PM
melifaro requested review of D28804: Fix `arp -d` / `ndp -d`..
Feb 19 2021, 7:52 PM

Feb 16 2021

melifaro committed rGa4513bace0e0: Fix NOINET6 build broken by 2fe5a79425c7. (authored by melifaro).
Fix NOINET6 build broken by 2fe5a79425c7.
Feb 16 2021, 9:52 PM
melifaro committed rG2fe5a79425c7: Fix dst/netmask handling in routing socket code. (authored by melifaro).
Fix dst/netmask handling in routing socket code.
Feb 16 2021, 8:31 PM
melifaro closed D28668: Fix dst/netmask handling in routing socket code..
Feb 16 2021, 8:31 PM
melifaro committed rG600eade2fb4f: Add ifa_try_ref() to simplify ifa handling inside epoch. (authored by melifaro).
Add ifa_try_ref() to simplify ifa handling inside epoch.
Feb 16 2021, 8:21 PM
melifaro closed D28639: Add ifa_try_ref() to simplify ifa handling inside epoch..
Feb 16 2021, 8:20 PM
melifaro closed D28673: Make in_localip_more() fib-aware..
Feb 16 2021, 8:04 PM
melifaro committed rG9fdbf7eef5c0: Make in_localip_more() fib-aware. (authored by melifaro).
Make in_localip_more() fib-aware.
Feb 16 2021, 8:04 PM

Feb 15 2021

melifaro committed rG8268d82cff1b: Remove per-packet ifa refcounting from IPv6 fast path. (authored by melifaro).
Remove per-packet ifa refcounting from IPv6 fast path.
Feb 15 2021, 10:34 PM
melifaro committed rG605284b89474: Enforce net epoch in in6_selectsrc(). (authored by melifaro).
Enforce net epoch in in6_selectsrc().
Feb 15 2021, 10:34 PM
melifaro closed D28648: Remove per-packet ifa refcounting from IPv6 fast path..
Feb 15 2021, 10:34 PM
melifaro closed D28647: Enforce net epoch in in6_selectsrc()..
Feb 15 2021, 10:34 PM
melifaro accepted D28694: pf tests: Test unicast reverse path forwarding check.
Feb 15 2021, 10:26 PM
melifaro updated the diff for D28647: Enforce net epoch in in6_selectsrc()..

Address comments.

Feb 15 2021, 10:01 PM
melifaro updated the diff for D28668: Fix dst/netmask handling in routing socket code..

Address comments.

Feb 15 2021, 9:46 PM
melifaro added inline comments to D28673: Make in_localip_more() fib-aware..
Feb 15 2021, 9:22 PM
melifaro updated the diff for D28673: Make in_localip_more() fib-aware..

Reflect comments.

Feb 15 2021, 9:17 PM
melifaro committed rG64d5c2777731: Remove now-unused RTF_RNH_LOCKED route flag. (authored by melifaro).
Remove now-unused RTF_RNH_LOCKED route flag.
Feb 15 2021, 8:51 PM
melifaro committed rGb3cfe07d74a9: When we are about to send down to the driver layer (authored by rrs).
When we are about to send down to the driver layer
Feb 15 2021, 8:42 PM
melifaro committed rG2f4f3e251245: Fix ifa refcount leak during route addition. (authored by melifaro).
Fix ifa refcount leak during route addition.
Feb 15 2021, 8:41 PM

Feb 14 2021

melifaro updated the test plan for D28673: Make in_localip_more() fib-aware..
Feb 14 2021, 11:38 PM
melifaro requested review of D28673: Make in_localip_more() fib-aware..
Feb 14 2021, 11:36 PM
melifaro updated the summary of D28668: Fix dst/netmask handling in routing socket code..
Feb 14 2021, 9:30 PM
melifaro retitled D28668: Fix dst/netmask handling in routing socket code. from Fix dst/netmask handling in routing socket code. Improve overall message validation. to Fix dst/netmask handling in routing socket code..
Feb 14 2021, 9:25 PM
melifaro requested review of D28668: Fix dst/netmask handling in routing socket code..
Feb 14 2021, 8:35 PM
melifaro committed rG7ef1ebd8f1e5: Fix interface route addition with net/bird. (authored by melifaro).
Fix interface route addition with net/bird.
Feb 14 2021, 10:31 AM
melifaro committed rG11304949deb3: Fix ifa refcount leak during route addition. (authored by melifaro).
Fix ifa refcount leak during route addition.
Feb 14 2021, 10:19 AM
melifaro committed rG1bd44b11e59f: Do not reference returned ifa in in6_ifawithifp(). (authored by melifaro).
Do not reference returned ifa in in6_ifawithifp().
Feb 14 2021, 10:14 AM
melifaro closed D28649: Do not reference returned ifa in in6_ifawithifp()..
Feb 14 2021, 10:13 AM

Feb 13 2021

melifaro updated the summary of D28649: Do not reference returned ifa in in6_ifawithifp()..
Feb 13 2021, 4:00 PM
melifaro requested review of D28649: Do not reference returned ifa in in6_ifawithifp()..
Feb 13 2021, 4:00 PM
melifaro added a reviewer for D28648: Remove per-packet ifa refcounting from IPv6 fast path.: network.
Feb 13 2021, 3:07 PM
melifaro updated the summary of D28648: Remove per-packet ifa refcounting from IPv6 fast path..
Feb 13 2021, 3:07 PM
melifaro requested review of D28648: Remove per-packet ifa refcounting from IPv6 fast path..
Feb 13 2021, 3:04 PM
melifaro updated the summary of D28647: Enforce net epoch in in6_selectsrc()..
Feb 13 2021, 2:53 PM
melifaro requested review of D28647: Enforce net epoch in in6_selectsrc()..
Feb 13 2021, 2:41 PM