1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys
Ryan Stone 19f41c2a52 Plug an ifaddr leak when changing a route's src
If a route is modified in a way that changes the route's source
address (i.e. the address used to access the gateway), then a
reference on the ifaddr representing the old source address will
be leaked if the address type does not have an ifa_rtrequest
method defined.  Plug the leak by releasing the reference in
all cases.

Differential Revision:	https://reviews.freebsd.org/D13417
Reviewed by:	ae
MFC after:	3 weeks
Sponsored by:	Dell
2017-12-14 20:48:50 +00:00
..
amd64
arm Add the virtualisation special register definitions. 2017-12-14 13:19:43 +00:00
arm64
bsm
cam Reduce size of several on-stack string buffers. 2017-12-13 21:17:00 +00:00
cddl
compat
conf
contrib
crypto
ddb
dev Add basic bwn(4) support for the (BCMA-based) BCM43224 and BCM43225. 2017-12-14 06:45:04 +00:00
dts
fs In devfs_lookupx() dotdot lookup case, avoid dereferencing 2017-12-14 13:41:11 +00:00
gdb
geom
gnu
i386
isa
kern SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00
kgssapi
libkern
mips bhnd(4): Include board_devid in the bhnd_board_info structure, and populate 2017-12-14 01:58:05 +00:00
modules
net Plug an ifaddr leak when changing a route's src 2017-12-14 20:48:50 +00:00
net80211
netgraph
netinet Fix mbuf leak when TCPMD5_OUTPUT() method returns error. 2017-12-14 12:54:20 +00:00
netinet6
netipsec
netpfil
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Add identifier for POWER9 CPU to CPU list 2017-12-14 20:01:04 +00:00
riscv
rpc
security
sparc64
sys SPDX: some uses of the RSA-MD license. 2017-12-13 16:30:39 +00:00
teken
tests
tools
ufs
vm
x86
xdr
xen
Makefile