freebsd-dev/sys
Alexander V. Chernikov c38da70c28 routing: fix RTM_CHANGE nhgroup updates.
RTM_CHANGE operates on a single component of the multipath route (e.g. on a single nexthop).
Search of this nexthop is peformed by iterating over each component from multipath (nexthop)
 group, using check_info_match_nhop. The problem with the current code that it incorrectly
 assumes that `check_info_match_nhop()` returns true value on match, while in reality it
 returns an error code on failure). Fix this by properly comparing the result with 0.
Additionally, the followup code modified original necthop group instead of a new one.
Fix this by targetting new nexthop group instead.

Reported by:	thj
Tested by:	Claudio Jeker <claudio.jeker@klarasystems.com>
Differential Revision: https://reviews.freebsd.org/D35526
MFC after: 2 weeks
2022-06-25 18:54:57 +00:00
..
amd64 linux(4): To reuse MD linux.h hide kernel dependencies unde _KERNEL constraint 2022-06-22 14:28:24 +03:00
arm busdma: Protect ARM busdma bounce page counters using the bounce page lock. 2022-06-25 12:01:59 +02:00
arm64 Add the SVE reigster definitions 2022-06-24 14:52:06 +01:00
bsm
cam ses: don't panic if disk elements have really weird descriptors 2022-06-23 11:19:20 -06:00
cddl loader: add support for gzip compression 2022-06-09 20:54:30 +03:00
compat linprocfs: Skip printing of the guard page in the /proc/self/maps 2022-06-22 14:49:40 +03:00
conf Fix the zfs build for arm64 2022-06-24 14:50:12 +01:00
contrib zfs: merge openzfs/zfs@deb121309 2022-06-23 17:49:33 +02:00
crypto OpenSSL: Regen assembly file for OpenSSSL 1.1.1p 2022-06-21 14:20:33 -04:00
ddb ddb: namespacing of struct command 2022-06-14 13:10:08 -03:00
dev busdma_iommu: Fine-grained locking for the dmamap's map list 2022-06-25 00:59:23 -05:00
dts sys/dts: Remove MIPS files 2022-05-20 17:11:27 +01:00
fs cuse(3): Remove PAGE_SIZE from libcuse. 2022-06-25 12:01:59 +02:00
gdb
geom ses: don't panic if disk elements have really weird descriptors 2022-06-23 11:19:20 -06:00
gnu bwn: eliminate dead writes in BWN_GPL_PHY 2022-05-04 09:32:59 -04:00
i386 set_cputicker: use a bool 2022-06-23 15:15:11 -03:00
isa isa: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:59 -07:00
kern unix/dgram: smart socket buffers for one-to-many sockets 2022-06-24 09:09:11 -07:00
kgssapi kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
libkern libkern: Fix a typo in a source code comment 2022-06-05 08:57:26 +02:00
modules Fix the zfs build for arm64 2022-06-24 14:50:12 +01:00
net routing: fix RTM_CHANGE nhgroup updates. 2022-06-25 18:54:57 +00:00
net80211 net80211 / LinuxKPI: 802.11: add Control Trigger Subframe information 2022-06-17 22:55:13 +00:00
netgraph ng_ubt(4): Probe USB Bluetooth per USB interface and not per USB device. 2022-06-03 10:49:17 +02:00
netinet tcp: Correctly compute the TCP goodput in bits per second by using SEQ_SUB(). 2022-06-23 21:10:39 +02:00
netinet6 rip6: Fix a lock order reversal in rip6_bind() 2022-06-14 12:00:59 -04:00
netipsec ipsec_encap: setdf is only used for INET. 2022-04-13 16:08:21 -07:00
netpfil pf: copy out rather than m_pullup() in pf_test_eth_rule() 2022-06-23 09:50:44 +02:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs nfs: skip bootpc when vfs.root.mountfrom is other than nfs 2022-05-31 16:07:27 -03:00
nfsclient
nfsserver
nlm
ofed ibcore: Fix a race with disassociate and exit_mmap() 2022-06-21 11:33:27 +02:00
opencrypto crypto: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
powerpc subr_bus: restore bus_null_rescan() 2022-06-23 16:07:00 -03:00
riscv riscv timer: implement riscv_timer_et_stop() 2022-06-23 15:15:11 -03:00
rpc krpc: Fix NFS-over-TLS for KTLS1.3 2022-05-15 11:51:56 -07:00
security sysent: Get rid of bogus sys/sysent.h include. 2022-05-28 20:52:17 +03:00
sys rb_tree: optimize tree rotation 2022-06-25 02:40:16 -05:00
teken
tests
tools firmware: Map '@' in filenames to '_' in symbols. 2022-06-14 10:50:51 -07:00
ufs UFS rename: make it reliable when using SU and reaching nlink limit 2022-06-24 17:46:26 +03:00
vm vm: Fix racy checks for swap objects 2022-06-20 12:48:14 -04:00
x86 x86 mptable: Include <x86/legacvar.h> for legacy_get_pcibus(). 2022-06-23 15:00:12 -07:00
xdr
xen xenbus: improve device tracking 2022-06-07 12:29:53 +02:00
Makefile