Staging: batman-adv: Fix resizing of broadcast seqno buffers on if deletion
authorLinus Lüssing <linus.luessing@web.de>
Tue, 19 Oct 2010 09:59:11 +0000 (11:59 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 19 Oct 2010 17:04:16 +0000 (10:04 -0700)
commit5dfa2ba9e658f099c11eab251da348429f6a9d7d
tree20fde2d130265b6ca980838f70ac20d60eb79501
parent9b37bc2c711b2a76ef3daa9437bbf9c58411afbd
Staging: batman-adv: Fix resizing of broadcast seqno buffers on if deletion

Not only the entries of the deleted interface got erased, but also all
ones with a lower if_num. This commit fixes this issue by setting the
destination appropriately.

Signed-off-by: Linus Lüssing <linus.luessing@web.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/batman-adv/originator.c