batman-adv: use check_unicast_packet() in recv_roam_adv()
authorAntonio Quartulli <ordex@autistici.org>
Tue, 31 Jul 2012 15:19:15 +0000 (17:19 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:39:03 +0000 (09:39 +0100)
commitd48ddb83666c32f14436106b8c9319f8ab24cf0a
tree60cf83dd2f2d17df622107c97bd605c140fd94bd
parenta932657f51eadb8280166e82dc7034dfbff3985a
batman-adv: use check_unicast_packet() in recv_roam_adv()

To avoid code duplication and to simplify further changes,
check_unicast_packet() is now used in recv_roam_adv() to check for not
well formed packets and so discard them.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/routing.c