Searched hist:"23289 a37e2b127dfc4de1313fba15bb4c9f0cd5b" (Results 1 – 7 of 7) sorted by relevance
/linux/net/8021q/ |
H A D | vlan.h | diff 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b Tue Oct 27 08:06:36 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods allow us to queue devices on a list, in order to dismantle them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | vlan.c | diff 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b Tue Oct 27 08:06:36 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods allow us to queue devices on a list, in order to dismantle them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/include/net/ |
H A D | rtnetlink.h | diff 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b Tue Oct 27 08:06:36 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods allow us to queue devices on a list, in order to dismantle them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/drivers/net/ |
H A D | veth.c | diff 24540535d33f72505807be3e7ef2e94f3726f971 Fri Oct 30 09:00:27 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> veth: Fix veth_dellink method
In commit 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b (net: add a list_head parameter to dellink() method), I forgot to actually use this parameter in veth_dellink.
I remember feeling a bit uncomfortable about veth_close(), because it does :
netif_carrier_off(dev); netif_carrier_off(priv->peer);
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> diff 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b Tue Oct 27 08:06:36 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods allow us to queue devices on a list, in order to dismantle them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | macvlan.c | diff d5cd92448fded12c91f7574e49747c5f7d975a8d Tue Mar 22 02:22:22 CET 2011 Eric W. Biederman <ebiederm@aristanetworks.com> macvlan: Fix use after free of struct macvlan_port.
When the macvlan driver was extended to call unregisgter_netdevice_queue in 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b, a use after free of struct macvlan_port was introduced. The code in dellink relied on unregister_netdevice actually unregistering the net device so it would be safe to free macvlan_port.
Since unregister_netdevice_queue can just queue up the unregister instead of performing the unregiser immediately we free the macvlan_port too soon and then the code in macvlan_stop removes the macaddress for the set of macaddress to listen for and uses memory that has already been freed.
To fix this add a reference count to track when it is safe to free the macvlan_port and move the call of macvlan_port_destroy into macvlan_uninit which is guaranteed to be called after the final macvlan_port_close.
Signed-off-by: Eric W. Biederman <ebiederm@aristanetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net> diff 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b Tue Oct 27 08:06:36 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods allow us to queue devices on a list, in order to dismantle them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/linux/net/core/ |
H A D | rtnetlink.c | diff 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b Tue Oct 27 08:06:36 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods allow us to queue devices on a list, in order to dismantle them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | dev.c | diff 23289a37e2b127dfc4de1313fba15bb4c9f0cd5b Tue Oct 27 08:06:36 CET 2009 Eric Dumazet <eric.dumazet@gmail.com> net: add a list_head parameter to dellink() method
Adding a list_head parameter to rtnl_link_ops->dellink() methods allow us to queue devices on a list, in order to dismantle them all at once.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|