Bug 559170 - ip addr flush $ifname causes vanishing /proc/sys/net/ipv6/conf/$ifname
Summary: ip addr flush $ifname causes vanishing /proc/sys/net/ipv6/conf/$ifname
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.4
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Factory
Hardware: All openSUSE 11.2
: P3 - Medium : Major (vote)
Target Milestone: ---
Assignee: Jiri Bohac
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 15:20 UTC by Marius Tomaschewski
Modified: 2015-02-18 23:33 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Tomaschewski 2009-11-30 15:20:04 UTC
Example:

# sysctl -a | grep "net.ipv[46].conf.br1" 
net.ipv4.conf.br1.forwarding = 1
net.ipv4.conf.br1.mc_forwarding = 0
net.ipv4.conf.br1.accept_redirects = 1
net.ipv4.conf.br1.secure_redirects = 1
net.ipv4.conf.br1.shared_media = 1
net.ipv4.conf.br1.rp_filter = 0
net.ipv4.conf.br1.send_redirects = 1
net.ipv4.conf.br1.accept_source_route = 1
net.ipv4.conf.br1.proxy_arp = 0
net.ipv4.conf.br1.medium_id = 0
net.ipv4.conf.br1.bootp_relay = 0
net.ipv4.conf.br1.log_martians = 0
net.ipv4.conf.br1.tag = 0
net.ipv4.conf.br1.arp_filter = 0
net.ipv4.conf.br1.arp_announce = 0
net.ipv4.conf.br1.arp_ignore = 0
net.ipv4.conf.br1.arp_accept = 0
net.ipv4.conf.br1.arp_notify = 0
net.ipv4.conf.br1.disable_xfrm = 0
net.ipv4.conf.br1.disable_policy = 0
net.ipv4.conf.br1.force_igmp_version = 0
net.ipv4.conf.br1.promote_secondaries = 1
net.ipv6.conf.br1.forwarding = 1
net.ipv6.conf.br1.hop_limit = 64
net.ipv6.conf.br1.mtu = 1500
net.ipv6.conf.br1.accept_ra = 1
net.ipv6.conf.br1.accept_redirects = 1
net.ipv6.conf.br1.autoconf = 1
net.ipv6.conf.br1.dad_transmits = 1
net.ipv6.conf.br1.router_solicitations = 3
net.ipv6.conf.br1.router_solicitation_interval = 4
net.ipv6.conf.br1.router_solicitation_delay = 1
net.ipv6.conf.br1.force_mld_version = 0
net.ipv6.conf.br1.use_tempaddr = 0
net.ipv6.conf.br1.temp_valid_lft = 604800
net.ipv6.conf.br1.temp_prefered_lft = 86400
net.ipv6.conf.br1.regen_max_retry = 5
net.ipv6.conf.br1.max_desync_factor = 600
net.ipv6.conf.br1.max_addresses = 16
net.ipv6.conf.br1.accept_ra_defrtr = 1
net.ipv6.conf.br1.accept_ra_pinfo = 1
net.ipv6.conf.br1.accept_ra_rtr_pref = 1
net.ipv6.conf.br1.router_probe_interval = 60
net.ipv6.conf.br1.accept_ra_rt_info_max_plen = 0
net.ipv6.conf.br1.proxy_ndp = 0
net.ipv6.conf.br1.accept_source_route = 0
net.ipv6.conf.br1.disable_ipv6 = 0
net.ipv6.conf.br1.accept_dad = 1

# ip addr flush br1

# sysctl -a | grep "net.ipv[46].conf.br1" 
net.ipv4.conf.br1.forwarding = 1
net.ipv4.conf.br1.mc_forwarding = 0
net.ipv4.conf.br1.accept_redirects = 1
net.ipv4.conf.br1.secure_redirects = 1
net.ipv4.conf.br1.shared_media = 1
net.ipv4.conf.br1.rp_filter = 0
net.ipv4.conf.br1.send_redirects = 1
net.ipv4.conf.br1.accept_source_route = 1
net.ipv4.conf.br1.proxy_arp = 0
net.ipv4.conf.br1.medium_id = 0
net.ipv4.conf.br1.bootp_relay = 0
net.ipv4.conf.br1.log_martians = 0
net.ipv4.conf.br1.tag = 0
net.ipv4.conf.br1.arp_filter = 0
net.ipv4.conf.br1.arp_announce = 0
net.ipv4.conf.br1.arp_ignore = 0
net.ipv4.conf.br1.arp_accept = 0
net.ipv4.conf.br1.arp_notify = 0
net.ipv4.conf.br1.disable_xfrm = 0
net.ipv4.conf.br1.disable_policy = 0
net.ipv4.conf.br1.force_igmp_version = 0
net.ipv4.conf.br1.promote_secondaries = 1

There is no br1 interface in the ipv6 tree any more:

# ls /proc/sys/net/ipv6/conf/
all  br0  default  eth0  eth1  lo  tap1.0  tap1.1  tun0

# ls /proc/sys/net/ipv4/conf/
all  br0  br1  default  eth0  eth1  lo  tap1.0  tap1.1  tun0
Comment 1 Jiri Bohac 2009-12-08 19:25:14 UTC
I found where in the code this is caused, but I don't understand why, so I just asked on the netdev mailing list. Let's see if somebody can explain it.

http://www.spinics.net/lists/netdev/msg115260.html
Comment 2 Bernhard Wiedemann 2011-12-05 18:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (559170) was mentioned in
https://build.opensuse.org/request/show/95483 Factory / sysconfig
Comment 3 Bernhard Wiedemann 2011-12-19 13:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (559170) was mentioned in
https://build.opensuse.org/request/show/97040 12.1 / sysconfig
https://build.opensuse.org/request/show/97041 11.4 / sysconfig
https://build.opensuse.org/request/show/97042 11.3 / sysconfig
Comment 4 Marius Tomaschewski 2011-12-19 13:10:27 UTC
User space workaround is applied in package for SWAMPID 44544 (bnc#735394)
Comment 5 Bernhard Wiedemann 2012-02-17 22:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (559170) was mentioned in
https://build.opensuse.org/request/show/105749 Evergreen:11.2 / sysconfig
Comment 6 Bernhard Wiedemann 2012-02-22 13:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (559170) was mentioned in
https://build.opensuse.org/request/show/106448 Evergreen:11.2 / sysconfig