aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2019-01-09 14:28:08 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2019-01-09 14:28:08 +0000
commitef0111fdf364e4e87b522025b13aad69067c3fe6 (patch)
tree69dc40c11a7e7d03d13a9f7826d9638d24d4a223 /release
parent7071b803da63f80811c7e4250642788c9d79d08c (diff)
downloadsrc-ef0111fdf364e4e87b522025b13aad69067c3fe6.tar.gz
src-ef0111fdf364e4e87b522025b13aad69067c3fe6.zip
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
Notes
Notes: svn path=/head/; revision=342884
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions