--- Begin Message ---
http://bugzilla.kernel.org/show_bug.cgi?id=6295

           Summary: unregister_netdevice loops indefinitely when bringing
                    down an interface if static ARP entries are present
    Kernel Version: 2.6.16
            Status: NEW
          Severity: normal
             Owner: [EMAIL PROTECTED]
         Submitter: [EMAIL PROTECTED]


Most recent kernel where this bug did not occur: 2.6.8

Distribution: Debian unstable, bug reproduced with vanilla kernel from 
kernel.org

Problem Description:
When using a VPN client, such as openvpn or gvpe, killing the client (which
should result in bringing down of the VPN interface) deadlocks it in D+ state,
if static ARP entries are present for the interface. Kernel periodically emits
messages "unregister_netdevice: waiting for <interface> to become free. Usage
count = 1". The usage count number is equal to the number of the static ARP 
entries.

Thanks a lot to Marc Lehmann for patient debugging of this problem and
constructing the test case.

Steps to reproduce (using openvpn, all mentioned addresses are non-existent):

# modprobe tun
# openvpn --remote 192.168.1.111 --dev tun1 --ifconfig 10.0.0.1 10.0.0.2
In another console:
# ip neigh add to 10.0.0.3 dev tun1 nud permanent
Return to the console in which openvpn is running and press Ctrl-C. The openvpn
process hangs in D+ state (can't be killed), error messages mentioned above are
periodically produced on the console.

Best regards,

Jurij Smakov                                        [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

--- End Message ---

Reply via email to