[Top] [All Lists]

fib/netdev cleanup

To: Alexey Kuznetsov <kuznet@xxxxxxxxxxxxx>
Subject: fib/netdev cleanup
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 15 Dec 2001 01:00:41 +0000 (GMT)
Cc: <netdev@xxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx

        I see some problems with the netdev notifications for
the FIB:

1. fib_inetaddr_event deletes all routes when the last address is
deleted which is wrong, may be because there is the 2nd problem:

2. FIB never detects NETDEV_UNREGISTER because ip_ptr is already NULL

3. We better to clear nh->nh_dev on NETDEV_UNREGISTER, fatal for
multipath routes in 2.4 (problem known from some time ago)

I uploaded all these changes, both for 2.2 and 2.4 here:


Julian Anastasov <ja@xxxxxx>

<Prev in Thread] Current Thread [Next in Thread>