Re: [TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack

2007-06-04 Thread Patrick McHardy
Patrick McHardy wrote: > [TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack > > 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_repl

[TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack

2007-06-01 Thread Patrick McHardy
[TCP]: Honour sk_bound_dev_if in tcp_v4_send_ack 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