Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
commit
dbbe68bb12
14 changed files with 87 additions and 25 deletions
|
|
@ -2626,8 +2626,12 @@ static int ip_route_output_slow(struct net *net, struct rtable **rp,
|
|||
}
|
||||
|
||||
if (res.type == RTN_LOCAL) {
|
||||
if (!fl.fl4_src)
|
||||
fl.fl4_src = fl.fl4_dst;
|
||||
if (!fl.fl4_src) {
|
||||
if (res.fi->fib_prefsrc)
|
||||
fl.fl4_src = res.fi->fib_prefsrc;
|
||||
else
|
||||
fl.fl4_src = fl.fl4_dst;
|
||||
}
|
||||
dev_out = net->loopback_dev;
|
||||
fl.oif = dev_out->ifindex;
|
||||
res.fi = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue