All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] Re: [PATCH 1/6] mptcp: Reference af_ops routines through struct ipv4_specific
@ 2019-10-31  8:33 Paolo Abeni
  0 siblings, 0 replies; 2+ messages in thread
From: Paolo Abeni @ 2019-10-31  8:33 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 640 bytes --]

On Wed, 2019-10-30 at 16:38 -0700, Peter Krystad wrote:
> Make this look similar to how it will have to be done for IPv6,
> as the IPv6 routines are declared static and thus not visible.
> 
> Signed-off-by: Peter Krystad <peter.krystad(a)linux.intel.com>

I think:

- 'subflow_finish_connect()' and 'inet_connection_sock_af_ops
subflow_specific;' changes should be squashed into "mptcp: Handle
MP_CAPABLE options for outgoing connections"

- 'subflow_syn_recv_sock()' into "mptcp: Create SUBFLOW socket for
incoming connections"

- 'inet_sk_rebuild_head()' into "mptcp: Add key generation and token
tree"

right?

/P


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [MPTCP] Re: [PATCH 1/6] mptcp: Reference af_ops routines through struct ipv4_specific
@ 2019-11-05 22:29 Peter Krystad
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Krystad @ 2019-11-05 22:29 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]

On Thu, 2019-10-31 at 09:33 +0100, Paolo Abeni wrote:
> On Wed, 2019-10-30 at 16:38 -0700, Peter Krystad wrote:
> > Make this look similar to how it will have to be done for IPv6,
> > as the IPv6 routines are declared static and thus not visible.
> > 
> > Signed-off-by: Peter Krystad <peter.krystad(a)linux.intel.com>
> 
> I think:
> 
> - 'subflow_finish_connect()' and 'inet_connection_sock_af_ops
> subflow_specific;' changes should be squashed into "mptcp: Handle
> MP_CAPABLE options for outgoing connections"
> 
> - 'subflow_syn_recv_sock()' into "mptcp: Create SUBFLOW socket for
> incoming connections"
> 
> - 'inet_sk_rebuild_head()' into "mptcp: Add key generation and token
> tree"
> 
> right?
> 
> /P
> 

In the v2 patchset I am going to modify this change. We will save a pointer
to the original af_icsk_ops structure and call the inet_xxx routines through
it. This will save a lot of code duplication for IPv6.

The change will squash to the same commits you identify above.

Peter. 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-05 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31  8:33 [MPTCP] Re: [PATCH 1/6] mptcp: Reference af_ops routines through struct ipv4_specific Paolo Abeni
2019-11-05 22:29 Peter Krystad

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.