On 10/1/18 2:40 AM, Mike Manning wrote: > From: Robert Shearman <rshea...@vyatta.att-mail.com> > > It is useful to be able to use the same socket for listening in a > specific VRF, as for sending multicast packets out of a specific > interface. However, the bound device on the socket currently takes > precedence and results in the packets not being sent. > > Relax the condition on overriding the output interface to use for > sending packets out of UDP, raw and ping sockets to allow multicast > packets to be sent using the specified multicast interface. > > Signed-off-by: Robert Shearman <rshea...@vyatta.att-mail.com> > Signed-off-by: Mike Manning <mmann...@vyatta.att-mail.com> > --- > net/ipv4/datagram.c | 2 +- > net/ipv4/ping.c | 2 +- > net/ipv4/raw.c | 2 +- > net/ipv4/udp.c | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) >
Reviewed-by: David Ahern <dsah...@gmail.com>