ipv4: fix ineffective source address selection
authorJiri Benc <jbenc@redhat.com>
Fri, 4 Oct 2013 15:04:48 +0000 (17:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Oct 2013 19:26:46 +0000 (15:26 -0400)
commit0a7e22609067ff524fc7bbd45c6951dd08561667
tree22cdabcf72b03cdb44deed26aeaebe5a3438fc4e
parent281abd965fedfe7c31927d84e01a5bfa554b5502
ipv4: fix ineffective source address selection

When sending out multicast messages, the source address in inet->mc_addr is
ignored and rewritten by an autoselected one. This is caused by a typo in
commit 813b3b5db831 ("ipv4: Use caller's on-stack flowi as-is in output
route lookups").

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c