Skip to content
Commit 93ca3bb5 authored by Timo Teräs's avatar Timo Teräs Committed by David S. Miller
Browse files

net: gre: provide multicast mappings for ipv4 and ipv6



My commit 6d55cb91 (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: default avatarDoug Kehn <rdkehn@yahoo.com>
Signed-off-by: default avatarTimo Teräs <timo.teras@iki.fi>
Acked-by: default avatarDoug Kehn <rdkehn@yahoo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1459a3cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment