]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: don't check compat version twice
authorAntonio Quartulli <antonio@open-mesh.com>
Thu, 28 Mar 2013 13:21:12 +0000 (14:21 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 29 May 2013 00:44:53 +0000 (02:44 +0200)
commit95c92e3ef73445192041f3e3bf63409633a3229c
tree1df0e0ab4b3fcea5f08e4bf33f710369ae88ff62
parent552d7f5bcd7ad1a4029b3635663964d36ad8eff6
batman-adv: don't check compat version twice

Compatibility version is checked upon packet reception
before calling any handler. For this reason it does need to
be checked once more in the handler itself.

Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
net/batman-adv/bat_iv_ogm.c