diff options
| author | Antonio Quartulli <[email protected]> | 2014-04-23 14:05:16 +0200 |
|---|---|---|
| committer | Antonio Quartulli <[email protected]> | 2014-05-15 20:03:17 +0200 |
| commit | be181015a189cd141398b761ba4e79d33fe69949 (patch) | |
| tree | af62d988abedf59273888c007c3fd03492e37b16 /fs/btrfs/dev-replace.c | |
| parent | 16a4142363b11952d3aa76ac78004502c0c2fe6e (diff) | |
batman-adv: fix reference counting imbalance while sending fragment
In the new fragmentation code the batadv_frag_send_packet()
function obtains a reference to the primary_if, but it does
not release it upon return.
This reference imbalance prevents the primary_if (and then
the related netdevice) to be properly released on shut down.
Fix this by releasing the primary_if in batadv_frag_send_packet().
Introduced by ee75ed88879af88558818a5c6609d85f60ff0df4
("batman-adv: Fragment and send skbs larger than mtu")
Cc: Martin Hundebøll <[email protected]>
Signed-off-by: Antonio Quartulli <[email protected]>
Signed-off-by: Marek Lindner <[email protected]>
Acked-by: Martin Hundebøll <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions