diff options
author | Sven Eckelmann <sven@narfation.org> | 2011-05-11 20:59:06 +0200 |
---|---|---|
committer | Sven Eckelmann <sven@narfation.org> | 2011-05-15 00:02:06 +0200 |
commit | 6d5808d4ae1b0851c3b732d9ec2860d5f7804294 (patch) | |
tree | 48e9dd4ba240daf2c252d715b89835f066e85fe7 /init | |
parent | 27aea2128ec09924dfe08e97739b2bf8b15c8619 (diff) | |
download | linux-6d5808d4ae1b0851c3b732d9ec2860d5f7804294.tar.bz2 |
batman-adv: Add missing hardif_free_ref in forw_packet_free
add_bcast_packet_to_list increases the refcount for if_incoming but the
reference count is never decreased. The reference count must be
increased for all kinds of forwarded packets which have the primary
interface stored and forw_packet_free must decrease them. Also
purge_outstanding_packets has to invoke forw_packet_free when a work
item was really cancelled.
This regression was introduced in
32ae9b221e788413ce68feaae2ca39e406211a0a.
Reported-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions