summaryrefslogtreecommitdiffstats
path: root/crypto/crct10dif_generic.c
diff options
context:
space:
mode:
authorStephen Suryaputra <ssuryaextr@gmail.com>2021-10-20 22:06:18 +0200
committerJakub Kicinski <kuba@kernel.org>2021-10-22 23:10:36 +0200
commit61e18ce7348bfefb5688a8bcd4b4d6b37c0f9b2a (patch)
tree4e08200af59f1b89ed6a59e385bc68b2055ca86c /crypto/crct10dif_generic.c
parentnet: dsa: sja1105: Add of_node_put() before return (diff)
downloadlinux-61e18ce7348bfefb5688a8bcd4b4d6b37c0f9b2a.tar.xz
linux-61e18ce7348bfefb5688a8bcd4b4d6b37c0f9b2a.zip
gre/sit: Don't generate link-local addr if addr_gen_mode is IN6_ADDR_GEN_MODE_NONE
When addr_gen_mode is set to IN6_ADDR_GEN_MODE_NONE, the link-local addr should not be generated. But it isn't the case for GRE (as well as GRE6) and SIT tunnels. Make it so that tunnels consider the addr_gen_mode, especially for IN6_ADDR_GEN_MODE_NONE. Do this in add_v4_addrs() to cover both GRE and SIT only if the addr scope is link. Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com> Acked-by: Antonio Quartulli <a@unstable.cc> Link: https://lore.kernel.org/r/20211020200618.467342-1-ssuryaextr@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'crypto/crct10dif_generic.c')
0 files changed, 0 insertions, 0 deletions