[TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack
authorPatrick McHardy <kaber@trash.net>
Tue, 5 Jun 2007 04:32:46 +0000 (21:32 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 7 Jun 2007 20:38:51 +0000 (13:38 -0700)
A time_wait socket inherits sk_bound_dev_if from the original socket,
but it is not used when sending ACK packets using ip_send_reply.

Fix by passing the oif to ip_send_reply in struct ip_reply_arg and
use it for output routing.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found