Bug 204903 - unable to create vrf interface when ipv6.disable=1
Summary: unable to create vrf interface when ipv6.disable=1
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-18 15:15 UTC by zhangyoufu
Modified: 2019-09-27 19:01 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.2.14
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description zhangyoufu 2019-09-18 15:15:42 UTC
`ip 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.
Comment 1 David Ahern 2019-09-27 19:01:29 UTC
Fixed in net tree. Commit:
dac91170f8e9 vrf: Do not attempt to create IPv6 mcast rule if IPv6 is disabled

Note You need to log in before you can comment on or make changes to this bug.