From: Marek Lindner Date: Tue, 25 Jan 2011 21:52:11 +0000 (+0000) Subject: batman-adv: make broadcast seqno operations atomic X-Git-Tag: v2.6.39-rc1~468^2~151^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3e0008f01b275bd08bd416cfcaa7021dd6bc277;p=pandora-kernel.git batman-adv: make broadcast seqno operations atomic Batman-adv could receive several payload broadcasts at the same time that would trigger access to the broadcast seqno sliding window to determine whether this is a new broadcast or not. If these incoming broadcasts are accessing the sliding window simultaneously it could be left in an inconsistent state. Therefore it is necessary to make sure this access is atomic. Reported-by: Linus Lüssing Signed-off-by: Marek Lindner --- Reading git-diff-tree failed