batman-adv: Return reason for failure in batadv_check_unicast_packet()
authorMartin Hundebøll <martin@hundeboll.net>
Sun, 13 Jan 2013 23:20:32 +0000 (00:20 +0100)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 13 Mar 2013 21:53:47 +0000 (22:53 +0100)
commitf86ce0ad107bc0e33ead8ba2498fc22dfb747479
tree097c1d92225b652860b6a5c3a4efbe06187bb8aa
parent736292c2e89ff8ba266bdc08ca035f5a7afb68f6
batman-adv: Return reason for failure in batadv_check_unicast_packet()

batadv_check_unicast_packet() is changed to return a value based on the
reason to drop the packet, which will be useful information for
future users of batadv_check_unicast_packet().

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Acked-by: Antonio Quartulli <ordex@autistici.org>
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/routing.c