commit | 9b1536c490d572f2ed4af0a15bd5d6cf349a9db4 | [log] [tgz] |
---|---|---|
author | Gao feng <gaofeng@cn.fujitsu.com> | Wed Dec 19 23:41:43 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 21 13:17:07 2012 -0800 |
tree | de6ce47b0545fdee53eac2c3455117110a4ed397 | |
parent | 9650388b5c56578fdccc79c57a8c82fb92b8e7f1 [diff] |
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>