[Top] [All Lists]

Re: [PATCH] Networking: send-to-self [link to non-broken patch this

To: greearb@xxxxxxxxxxxxxxx (Ben Greear)
Subject: Re: [PATCH] Networking: send-to-self [link to non-broken patch this
From: kuznet@xxxxxxxxxxxxx
Date: Fri, 27 Sep 2002 07:36:02 +0400 (MSD)
Cc: netdev@xxxxxxxxxxx
In-reply-to: <3D93B4CB.8040905@xxxxxxxxxxxxxxx> from "Ben Greear" at Sep 26, 2 06:30:51 pm
Sender: netdev-bounce@xxxxxxxxxxx

> Think about this:  Suppose you are connecting to a listening socket that has 
> been
> bound to a device.  That creates the the temporary socket structure
> on the receive side,

That does _not_. All transmits use listening socket structure.

> can get routed based on the parent's bound_dev_if if my assumption here is
> not correct.

Find function tcp_v4_send_synack(), then tcp_v4_route_req() and derive
that your modifications have exactly zero impact on it,
sk->bound_dev_if is setup and used exactly like it was used before.


<Prev in Thread] Current Thread [Next in Thread>