diff options
author | Marek Lindner <lindner_marek@yahoo.de> | 2010-08-09 23:56:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-23 18:15:36 -0700 |
commit | 13334d4875dbaeeb44e7905463f07e236f80311f (patch) | |
tree | ce73f583ef4ca95348e62e1b93e266b6945a6234 /mm/swap_state.c | |
parent | 9abc10238e1df7ce81c58a441f65efd5e905b9e8 (diff) | |
download | op-kernel-dev-13334d4875dbaeeb44e7905463f07e236f80311f.zip op-kernel-dev-13334d4875dbaeeb44e7905463f07e236f80311f.tar.gz |
Staging: batman-adv: fix batman icmp originating from secondary interface
If a batman icmp packet had to be routed over a secondary interface
at the first hop, the mac address of that secondary interface would
be written in the 'orig' field of the icmp packet. A node which is
more than one hop away is not aware of the mac address because
secondary interfaces are not flooded through the whole mesh and
therefore can't send a reply.
This patch always sends the mac address of the primary interface
in the 'orig' field of the icmp packet.
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions