]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit262ed2b4bc261459a5a59196d3c4a4416bb9ad6d
tree22cdabcf72b03cdb44deed26aeaebe5a3438fc4e
parent507a8398ab9aea86038cb4dceedb65bb25f07ba2
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 b85dfc3ed640 ("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