diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-03-28 22:40:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-30 00:10:47 -0700 |
commit | 93ca3bb5df9bc8b2c60485e1cc6507c3d7c8e1fa (patch) | |
tree | 6ccf21f8d1e4431c6be79c265fb1f9a722308f63 /include/linux/net.h | |
parent | 1459a3cc51d90d78027c7b5c1790e5d22751c8eb (diff) |
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>
Diffstat (limited to 'include/linux/net.h')
0 files changed, 0 insertions, 0 deletions