]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: fix TT-TVLV parsing on OGM reception
authorAntonio Quartulli <antonio@meshcoding.com>
Mon, 27 Jan 2014 11:23:28 +0000 (12:23 +0100)
committerAntonio Quartulli <antonio@meshcoding.com>
Mon, 17 Feb 2014 16:17:00 +0000 (17:17 +0100)
commitb5ea0bb5d7d25183dc4ae0107ea733d10a9dd284
tree94aaf22aebc301628e55d173c3d226f85061e57e
parentd110612873b768f6f1fe40e9e792b1c2be0792c6
batman-adv: fix TT-TVLV parsing on OGM reception

When accessing a TT-TVLV container in the OGM RX path
the variable pointing to the list of changes to apply is
altered by mistake.

This makes the TT component read data at the wrong position
in the OGM packet buffer.

Fix it by removing the bogus pointer alteration.

Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
net/batman-adv/translation-table.c