Commit 5ab03d36 authored by James Morris's avatar James Morris Committed by David S. Miller

[IPV4]: Fix multicast route lookups.

parent 5792771d
...@@ -606,7 +606,7 @@ void ip_mc_destroy_dev(struct in_device *in_dev) ...@@ -606,7 +606,7 @@ void ip_mc_destroy_dev(struct in_device *in_dev)
static struct in_device * ip_mc_find_dev(struct ip_mreqn *imr) static struct in_device * ip_mc_find_dev(struct ip_mreqn *imr)
{ {
struct flowi fl = { .nl_u = { .ip4_u = struct flowi fl = { .nl_u = { .ip4_u =
{ .daddr = imr->imr_address.s_addr } } }; { .daddr = imr->imr_multiaddr.s_addr } } };
struct rtable *rt; struct rtable *rt;
struct net_device *dev = NULL; struct net_device *dev = NULL;
struct in_device *idev = NULL; struct in_device *idev = NULL;
......
Markdown is supported
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