diff options
| author | Nicolas Dichtel <[email protected]> | 2022-06-23 12:00:15 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-06-28 05:24:30 +0000 |
| commit | 3b0dc529f56b5f2328244130683210be98f16f7f (patch) | |
| tree | a43c971de0d022fb42be84030143dadf65b4bca6 /net/tipc/socket.c | |
| parent | net: usb: asix: do not force pause frames support (diff) | |
| download | kernel-3b0dc529f56b5f2328244130683210be98f16f7f.tar.gz kernel-3b0dc529f56b5f2328244130683210be98f16f7f.zip | |
ipv6: take care of disable_policy when restoring routes
When routes corresponding to addresses are restored by
fixup_permanent_addr(), the dst_nopolicy parameter was not set.
The typical use case is a user that configures an address on a down
interface and then put this interface up.
Let's take care of this flag in addrconf_f6i_alloc(), so that every callers
benefit ont it.
CC: [email protected]
CC: David Forster <[email protected]>
Fixes: df789fe75206 ("ipv6: Provide ipv6 version of "disable_policy" sysctl")
Reported-by: Siwar Zitouni <[email protected]>
Signed-off-by: Nicolas Dichtel <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions
