diff options
author | David Ahern | 2015-10-05 08:51:27 -0700 |
---|---|---|
committer | David S. Miller | 2015-10-07 04:27:46 -0700 |
commit | bb191c3e874650ae8f701885f3dd5f8ea8989b19 (patch) | |
tree | 237b14ce30a495aa106b8e4710202f058dcd2834 /net/atm/common.c | |
parent | 8cbb512c923d5f695ff6265b2b741b1718e3b444 (diff) |
net: Add l3mdev saddr lookup to raw_sendmsg
ping originated on box through a VRF device is showing up in tcpdump
without a source address:
$ tcpdump -n -i vrf-blue
08:58:33.311303 IP 0.0.0.0 > 10.2.2.254: ICMP echo request, id 2834, seq 1, length 64
08:58:33.311562 IP 10.2.2.254 > 10.2.2.2: ICMP echo reply, id 2834, seq 1, length 64
Add the call to l3mdev_get_saddr to raw_sendmsg.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/common.c')
0 files changed, 0 insertions, 0 deletions