freebsd-skq/sys
hselasky efc3b98861 Fix loopback traffic when using non-lo0 link local IPv6 addresses.
The loopback interface can only receive packets with a single scope ID,
namely the scope ID of the loopback interface itself. To mitigate this
packets which use the scope ID are appearing as received by the real
network interface, see "origifp" in the patch. The current code would
drop packets which are designated for loopback which use a link-local
scope ID in the destination address or source address, because they
won't match the lo0's scope ID. To fix this restore the network
interface pointer from the scope ID in the destination address for
the problematic cases. See comments added in patch for a more detailed
description.

This issue was introduced with route caching (ae@).

Reviewed by:		bz (network)
Differential Revision:	https://reviews.freebsd.org/D18769
MFC after:		1 week
Sponsored by:		Mellanox Technologies
2019-01-09 14:28:08 +00:00
..
amd64 x86: Report per-cpu IPI TLB shootdown generation in ddb 'show pcpu' output. 2019-01-04 17:25:47 +00:00
arm Add a missing \n to a bootverbose printf. 2019-01-07 16:36:45 +00:00
arm64 Pass VM_PROT_EXECUTE to vm_fault for instruction faults. 2018-12-27 14:14:41 +00:00
bsm
cam Add NO_SYNC_CACHE quirk for PENTAX cameras 2019-01-08 20:55:02 +00:00
cddl zfsboot: support newer ZFS versions 2019-01-03 22:49:11 +00:00
compat Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
conf Limit git history searches in newvers.sh 2019-01-04 18:38:27 +00:00
contrib MFV: r342867 2019-01-09 00:31:10 +00:00
crypto Generalize AES iov optimization 2018-12-13 04:40:53 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev Add quirk for 128MB Creative Nomad. 2019-01-09 06:21:49 +00:00
dts arm64: allwinner: Fix pwm dtso 2018-12-12 21:10:34 +00:00
fs When loading an inode from disk, verify that its mode is valid. 2018-12-27 07:18:53 +00:00
gdb
geom Use g_handleattr() to reply to GEOM::candelete queries. 2019-01-02 15:52:16 +00:00
gnu Update our devicetree to 4.19 for arm and arm64 2018-11-10 21:02:32 +00:00
i386 Fix i386 LINT build after r342769. 2019-01-04 19:10:46 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Avoid overfow in vtruncbuf() 2019-01-08 09:04:27 +00:00
kgssapi OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Add note to 32-bit mips smp config files documenting the status 2018-12-19 23:22:14 +00:00
modules rtwn_pci(4): add support for RTL8188EE chipset. 2019-01-02 06:48:53 +00:00
net Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
net80211 net80211: fix panic when device is removed during initialization 2019-01-09 12:50:24 +00:00
netgraph Allow ng_nat to be attached to a ethernet interface directly via ng_ether(4) 2018-12-17 16:00:35 +00:00
netinet Fix getsockopt() for IP_OPTIONS/IP_RETOPTS. 2019-01-09 06:36:57 +00:00
netinet6 Fix loopback traffic when using non-lo0 link local IPv6 addresses. 2019-01-09 14:28:08 +00:00
netipsec Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
netpfil Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
opencrypto Plug memory leak for AES_*_NIST_GMAC algorithms. 2018-12-13 08:59:51 +00:00
powerpc powerpc: Fix regression introduced in r342771 2019-01-07 19:39:31 +00:00
riscv Don't enable interrupts in init_secondary(). 2019-01-04 17:14:50 +00:00
rpc Add kern.rpc.gss.client_max, to make it possible to bump it easily. 2018-12-15 11:32:11 +00:00
security mac: reduce pessimization of sdt probe handling 2018-12-19 22:30:26 +00:00
sparc64 Remove iBCS2, part2: general kernel 2018-12-19 21:57:58 +00:00
sys Fix an old typo in the element status display bits: 2019-01-05 21:07:49 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests epoch_test: fix compile 2018-07-15 00:31:17 +00:00
tools make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
ufs Move ASSERT_VOP_LOCKED to top of ufs_vinit() as it should be true 2018-12-30 06:03:20 +00:00
vm Fix regression in r331368, that broke dumping of UMA startup pages 2019-01-07 23:17:09 +00:00
x86 Expose threads-per-core and physical core count information 2019-01-04 18:31:17 +00:00
xdr
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile