Re: [PATCH] d80211: Fix __ieee80211_if_del on live interfaces

2007-01-10 Thread Michael Buesch
On Wednesday 10 January 2007 07:19, Michael Wu wrote: d80211: Fix __ieee80211_if_del on live interfaces ieee80211_if_reinit is called in __ieee80211_if_del, which clears the contents of sdata-u. After that, unregister_netdevice is called. If the interface is still up, unregister_netdevice

Re: [PATCH] d80211: Fix __ieee80211_if_del on live interfaces

2007-01-10 Thread Jiri Benc
On Wed, 10 Jan 2007 01:19:14 -0500, Michael Wu wrote: This patch fixes that by setting dev-uninit to ieee80211_if_reinit and eliminating the call to ieee80211_if_reinit in __ieee80211_if_del. This allows ieee80211_if_reinit to be called at a safer time. It also allows the removal of the call

[PATCH] d80211: Fix __ieee80211_if_del on live interfaces

2007-01-09 Thread Michael Wu
d80211: Fix __ieee80211_if_del on live interfaces ieee80211_if_reinit is called in __ieee80211_if_del, which clears the contents of sdata-u. After that, unregister_netdevice is called. If the interface is still up, unregister_netdevice will end up calling dev-stop, and dev-stop expects the