| commit | dd927a2694ee412b440284dd72dd8e32caada3fc | [log] [tgz] |
|---|---|---|
| author | David S. Miller <davem@davemloft.net> | Wed May 04 12:03:30 2011 -0700 |
| committer | David S. Miller <davem@davemloft.net> | Wed May 04 12:03:30 2011 -0700 |
| tree | 4f3c2b208d3f61a268139561e9d94f9d106b3946 | |
| parent | 69458cb194e82972347a004054e0baed719ed008 [diff] |
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: David S. Miller <davem@davemloft.net>