commit | 057ba29bbe85e9587635e3128b26fa30fe849af9 | [log] [tgz] |
---|---|---|
author | Jiri Benc <jbenc@redhat.com> | Thu Sep 17 16:11:11 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 17 22:32:15 2015 -0700 |
tree | 685d07701d836d2f1122e06c000668b833136b4c | |
parent | 9dc2ad1008c9f91f55ec6c89ec0f8639dfc91596 [diff] |
vxlan: reject IPv6 addresses if IPv6 is not configured When IPv6 address is set without IPv6 configured, the vxlan socket is mostly treated as an IPv4 one but various lookus in fdb etc. still take the AF_INET6 into account. This creates incosistencies with weird consequences. Just reject IPv6 addresses in such case. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>