diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2012-12-19 23:41:43 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-21 13:17:07 -0800 |
commit | 9b1536c490d572f2ed4af0a15bd5d6cf349a9db4 (patch) | |
tree | de6ce47b0545fdee53eac2c3455117110a4ed397 /net/socket.c | |
parent | 9650388b5c56578fdccc79c57a8c82fb92b8e7f1 (diff) | |
download | talos-op-linux-9b1536c490d572f2ed4af0a15bd5d6cf349a9db4.tar.gz talos-op-linux-9b1536c490d572f2ed4af0a15bd5d6cf349a9db4.zip |
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/socket.c')
0 files changed, 0 insertions, 0 deletions