commit | f1c1775ac7e61950225925c949045406ffcb43de | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jpirko@redhat.com> | Sat Mar 12 03:14:35 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 16 12:51:19 2011 -0700 |
tree | dff2fc348c566df3c18f023043fd308bb75662f7 | |
parent | c888385a0d61c4c6923ecc3b9dacfe8a1d8cb222 [diff] |
bonding: register slave pointer for rx_handler Register slave pointer as rx_handler data. That would eventually prevent need to loop over slave devices to find the right slave. Use synchronize_net to ensure that bond_handle_frame does not get slave structure freed when working with that. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Reviewed-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr> Signed-off-by: David S. Miller <davem@davemloft.net>