diff options
author | Jouni Malinen <j@w1.fi> | 2008-08-25 11:57:06 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-26 20:06:33 -0400 |
commit | 93015f0f34e81a47c4126329746ce5f364bafd11 (patch) | |
tree | a65755403354d28148f8b85627ddf0dd544c9277 /fs/binfmt_elf_fdpic.c | |
parent | 667d8af9af775a5fea203890978037ea750816cc (diff) | |
download | talos-obmc-linux-93015f0f34e81a47c4126329746ce5f364bafd11.tar.gz talos-obmc-linux-93015f0f34e81a47c4126329746ce5f364bafd11.zip |
mac80211: Fix debugfs file add/del for netdev
Previous version was using incorrect union structures for non-AP
interfaces when adding and removing max_ratectrl_rateidx and
force_unicast_rateidx entries. Depending on the vif type, this ended
up in corrupting debugfs entries since the dentries inside different
union structures ended up going being on top of eachother.. As the
end result, debugfs files were being left behind with references to
freed data (instant kernel oops on access) and directories were not
removed properly when unloading mac80211 drivers. This patch fixes
those issues by using only a single union structure based on the vif
type.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
0 files changed, 0 insertions, 0 deletions