net/ipv6: Handle reject routes with onlink flag
David Ahern authored
Verification of nexthops with onlink flag need to handle unreachable
routes. The lookup is only intended to validate the gateway address
is not a local address and if the gateway resolves the egress device
must match the given device. Hence, hitting any default reject route
is ok.

Fixes: fc1e64e1

 ("net/ipv6: Add support for onlink flag")
Signed-off-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
58e354c0
Name Last commit Last update
Documentation Merge branch 'akpm' (patches from Andrew)
LICENSES LICENSES: Add MPL-1.1 license
arch Merge branch 'akpm' (patches from Andrew)
block Merge tag 'for-linus-20180204' of git://git.kernel.dk/linux-block
certs License cleanup: add SPDX GPL-2.0 license identifier to files with no license
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
drivers sun: Add SPDX license tags to Sun network drivers
firmware kbuild: remove all dummy assignments to obj-
fs Merge branch 'akpm' (patches from Andrew)
include Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
init membarrier: Provide core serializing command, *_SYNC_CORE
ipc ipc/mqueue.c: have RT tasks queue in by priority in wq_add()
kernel Merge branch 'akpm' (patches from Andrew)
lib Merge branch 'akpm' (patches from Andrew)
mm Merge branch 'akpm' (patches from Andrew)
net net/ipv6: Handle reject routes with onlink flag
samples sample/bpf: fix erspan metadata
scripts kasan: rework Kconfig settings
security pids: introduce find_get_task_by_vpid() helper
sound Merge tag 'driver-core-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
tools Merge branch 'akpm' (patches from Andrew)
usr initramfs: fix initramfs rebuilds w/ compression after disabling
virt Merge tag 'usercopy-v4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.