Timo Teräs 93ca3bb5df net: gre: provide multicast mappings for ipv4 and ipv6
My commit 6d55cb91a0020ac0 (gre: fix hard header destination
address checking) broke multicast.

The reason is that ip_gre used to get ipgre_header() calls with
zero destination if we have NOARP or multicast destination. Instead
the actual target was decided at ipgre_tunnel_xmit() time based on
per-protocol dissection.

Instead of allowing the "abuse" of ->header() calls with invalid
destination, this creates multicast mappings for ip_gre. This also
fixes "ip neigh show nud noarp" to display the proper multicast
mappings used by the gre device.

Reported-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Acked-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-30 00:10:47 -07:00
..
2011-03-15 09:57:38 -05:00
2010-11-29 09:45:15 -08:00
2010-12-31 10:47:46 -08:00
2010-06-03 03:21:52 -07:00
2011-03-27 17:55:01 -07:00
2010-10-27 11:37:32 -07:00
2010-10-25 13:09:44 -07:00
2010-12-19 21:59:35 -08:00
2010-09-23 14:33:39 -07:00
2010-10-25 13:09:45 -07:00
2011-03-21 20:39:24 -07:00
2010-10-27 11:37:32 -07:00
2010-06-03 03:21:52 -07:00
2010-06-03 03:21:52 -07:00
2010-12-02 13:27:33 -08:00
2011-03-15 09:36:50 +09:00
2011-02-08 16:17:55 -08:00
2011-01-24 15:32:47 -08:00
2010-11-24 11:16:43 -08:00
2011-03-01 12:35:03 -08:00
2011-03-01 12:35:03 -08:00
2010-11-28 11:12:20 -08:00