diff options
| author | Jiri Pirko <[email protected]> | 2011-03-22 02:38:12 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2011-03-23 19:45:10 +0000 |
| commit | 35d48903e9781975e823b359ee85c257c9ff5c1c (patch) | |
| tree | 889a517bd0ccfbf64978ca9f8b5e70225a268d87 /fs/ubifs/commit.c | |
| parent | myri10ge: fix rmmod crash (diff) | |
| download | kernel-35d48903e9781975e823b359ee85c257c9ff5c1c.tar.gz kernel-35d48903e9781975e823b359ee85c257c9ff5c1c.zip | |
bonding: fix rx_handler locking
This prevents possible race between bond_enslave and bond_handle_frame
as reported by Nicolas by moving rx_handler register/unregister.
slave->bond is added to hold pointer to master bonding sructure. That
way dev->master is no longer used in bond_handler_frame.
Also, this removes "BUG: scheduling while atomic" message
Reported-by: Nicolas de Pesloüan <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Signed-off-by: Andy Gospodarek <[email protected]>
Tested-by: Nicolas de Pesloüan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions
