summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorJouni Malinen <jkmaline@cc.hut.fi>2005-10-02 17:19:00 -0700
committerJeff Garzik <jgarzik@pobox.com>2005-10-03 22:00:08 -0400
commitc355184cd3cd58c9ffc78f2a17e0ac3563312ea7 (patch)
treef6de150b08f98540bf660cedffd77785ce75b479 /net/ipv6/ip6_output.c
parentf7a74447553d698795ba74b7e17e916000b0cb08 (diff)
[PATCH] hostap: Do not free local->hw_priv before unregistering netdev
local->hw_priv was being freed and set to NULL just before calling prism2_free_local_data(). However, this may expose a race condition in which something ends up trying to use hw_priv during shutdown. I haven't noticed this happening, but better be safe than sorry, so let's postpone hw_priv freeing to happen only after prism2_free_local_data() has returned. Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions