Skip to content
Commit dd927a26 authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: In ip_build_and_send_pkt() use 'saddr' and 'daddr' args passed in.



Instead of rt->rt_{dst,src}

The only tricky part is source route option handling.

If the source route option is enabled we can't just use plain 'daddr',
we have to use opt->opt.faddr.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 69458cb1
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