diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-12-20 03:41:43 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-22 01:17:07 +0400 |
commit | 9b1536c490d572f2ed4af0a15bd5d6cf349a9db4 (patch) | |
tree | de6ce47b0545fdee53eac2c3455117110a4ed397 /net/wireless/ap.c | |
parent | 9650388b5c56578fdccc79c57a8c82fb92b8e7f1 (diff) | |
download | linux-9b1536c490d572f2ed4af0a15bd5d6cf349a9db4.tar.xz |
bridge: call br_netpoll_disable in br_add_if
When netdev_set_master faild in br_add_if, we should
call br_netpoll_disable to do some cleanup jobs,such
as free the memory of struct netpoll which allocated
in br_netpoll_enable.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Acked-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wireless/ap.c')
0 files changed, 0 insertions, 0 deletions