summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/gateway_client.c
diff options
context:
space:
mode:
authorMarek Lindner <lindner_marek@yahoo.de>2011-01-25 21:52:11 +0000
committerMarek Lindner <lindner_marek@yahoo.de>2011-03-05 12:50:09 +0100
commitf3e0008f01b275bd08bd416cfcaa7021dd6bc277 (patch)
tree47c1787dce5d3bda821a4ccb015d54b6b9cadc82 /net/batman-adv/gateway_client.c
parent0ede9f41b217d8982ab426e3c8c1b692a280a16f (diff)
downloadop-kernel-dev-f3e0008f01b275bd08bd416cfcaa7021dd6bc277.zip
op-kernel-dev-f3e0008f01b275bd08bd416cfcaa7021dd6bc277.tar.gz
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 <linus.luessing@web.de> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/gateway_client.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud