New: unable to create vrf interface when ipv6.disable=1
Subsystems (2)
Begin forwarded message:
Date: Wed, 18 Sep 2019 15:15:42 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 204903] New: unable to create vrf interface when ipv6.disable=1
https://bugzilla.kernel.org/show_bug.cgi?id=204903
Bug ID: 204903
Summary: unable to create vrf interface when ipv6.disable=1
Product: Networking
Version: 2.5
Kernel Version: 5.2.14
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Other
Assignee: [email protected]
Reporter: [email protected]
Regression: Noip link add vrf0 type vrf table 100 fails with EAFNOSUPPORT when boot with ipv6.disable=1. There must be somewhere inside vrf_newlink trying to use IPv6 without checking availablity. Maybe vrf_add_fib_rules I guess.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
Quoted 28 lines · Stephen Hemminger
Begin forwarded message:
Date: Wed, 18 Sep 2019 15:15:42 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 204903] New: unable to create vrf interface when ipv6.disable=1https://bugzilla.kernel.org/show_bug.cgi?id=204903
Bug ID: 204903 Summary: unable to create vrf interface when ipv6.disable=1 Product: Networking Version: 2.5 Kernel Version: 5.2.14 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Other Assignee: [email protected] Reporter: [email protected] Regression: No
Quoted 4 lines
ip link add vrf0 type vrf table 100fails with EAFNOSUPPORT when boot withipv6.disable=1. There must be somewhere insidevrf_newlinktrying to use IPv6 without checking availablity. Maybevrf_add_fib_rulesI guess.
ack. I'll take a look when I get a chance. Should be a simple fix.
Quoted 29 lines · David Ahern
Quoted 28 lines · Stephen Hemminger
Begin forwarded message:
Date: Wed, 18 Sep 2019 15:15:42 +0000
From: [email protected]
To: [email protected]
Subject: [Bug 204903] New: unable to create vrf interface when ipv6.disable=1https://bugzilla.kernel.org/show_bug.cgi?id=204903
Bug ID: 204903 Summary: unable to create vrf interface when ipv6.disable=1 Product: Networking Version: 2.5 Kernel Version: 5.2.14 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Other Assignee: [email protected] Reporter: [email protected] Regression: No
Quoted 6 lines
Quoted 4 lines
ip link add vrf0 type vrf table 100fails with EAFNOSUPPORT when boot withipv6.disable=1. There must be somewhere insidevrf_newlinktrying to use IPv6 without checking availablity. Maybevrf_add_fib_rulesI guess.ack. I'll take a look when I get a chance. Should be a simple fix.
Not sure if it's the only problem but vrf_fib_rule() checks ipv6_mod_enabled() for AF_INET6 but not for RTNL_FAMILY_IP6MR.
Michal
Quoted 2 lines · Michal Kubecek
Not sure if it's the only problem but
vrf_fib_rule()checksipv6_mod_enabled()forAF_INET6but not forRTNL_FAMILY_IP6MR.
yes, that's the problem. sending a patch soon.