batman-adv: Disallow originator addressing within mesh layer
authorLinus Lüssing <linus.luessing@ascom.ch>
Mon, 7 Feb 2011 00:14:40 +0000 (00:14 +0000)
committerSven Eckelmann <sven@narfation.org>
Fri, 11 Feb 2011 22:30:33 +0000 (23:30 +0100)
commit3878f1f075470990d9c2418b53f31694e774f743
tree6ef77c4a0c44445cdee8b7d5b748d7ed29033716
parentee1e884194eb19574898ce6d5eaef5e8afdec7f2
batman-adv: Disallow originator addressing within mesh layer

For a host in the mesh network, the batman layer should be transparent.
However, we had one exception, data packets within the mesh network
which have the same destination as a originator are being routed to
that node, although there is no host that node's bat0 interface and
therefore gets dropped anyway. This commit removes this exception.

Signed-off-by: Linus Lüssing <linus.luessing@ascom.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/unicast.c