mptcp.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Geliang Tang <geliangtang@gmail.com>
To: Mat Martineau <mathew.j.martineau@linux.intel.com>
Cc: mptcp@lists.linux.dev
Subject: Re: [MPTCP][PATCH v2 mptcp-next] Squash to "mptcp: build ADD_ADDR/echo-ADD_ADDR option according pm.add_signal"
Date: Thu, 15 Jul 2021 11:17:41 +0800	[thread overview]
Message-ID: <CA+WQbwu7s3B2pjpbpfcDYV_215=j=7c59A8M1XxG4m0xVOsAWg@mail.gmail.com> (raw)
In-Reply-To: <656b5aa6-f697-a35-2aa6-53ec2aec2cfc@linux.intel.com>

Hi Mat,

Mat Martineau <mathew.j.martineau@linux.intel.com> 于2021年7月14日周三 上午4:39写道:
>
> On Tue, 13 Jul 2021, Geliang Tang wrote:
>
> > This squash-to patch will conflict with "mptcp: remove
> > MPTCP_ADD_ADDR_IPV6 and MPTCP_ADD_ADDR_PORT":
> >
> > Auto-merging net/mptcp/protocol.h
> > CONFLICT (content): Merge conflict in net/mptcp/protocol.h
> > Auto-merging net/mptcp/pm.c
> > error: could not apply bf1fec79a2bf... mptcp: remove
> > MPTCP_ADD_ADDR_IPV6 and MPTCP_ADD_ADDR_PORT
> >
> > Please fix it like this:
> >
> > <<<<<<< HEAD
> > static inline bool mptcp_pm_should_add_signal_ipv6(struct mptcp_sock *msk)
> > {
> >         return (mptcp_pm_should_add_signal_addr(msk) &&
> > msk->pm.local.family == AF_INET6) ||
> >                 (mptcp_pm_should_add_signal_echo(msk) &&
> > msk->pm.remote.family == AF_INET6);
> > }
> >
> > static inline bool mptcp_pm_should_add_signal_port(struct mptcp_sock *msk)
> > {
> >         return (mptcp_pm_should_add_signal_addr(msk) && msk->pm.local.port) ||
> >                 (mptcp_pm_should_add_signal_echo(msk) && msk->pm.remote.port);
> > }
> >
> > =======
> > >>>>>>> bf1fec79a2bf (mptcp: remove MPTCP_ADD_ADDR_IPV6 and
> > MPTCP_ADD_ADDR_PORT)
> > static inline bool mptcp_pm_should_rm_signal(struct mptcp_sock *msk)
> > {
> >         return READ_ONCE(msk->pm.addr_signal) & BIT(MPTCP_RM_ADDR_SIGNAL);
> > }
> >
> > ->
> >
> > static inline bool mptcp_pm_should_add_signal_ipv6(struct mptcp_sock *msk)
> > {
> >         return (mptcp_pm_should_add_signal_addr(msk) &&
> > msk->pm.local.family == AF_INET6) ||
> >                 (mptcp_pm_should_add_signal_echo(msk) &&
> > msk->pm.remote.family == AF_INET6);
> > }
> >
> > static inline bool mptcp_pm_should_add_signal_port(struct mptcp_sock *msk)
> > {
> >         return (mptcp_pm_should_add_signal_addr(msk) && msk->pm.local.port) ||
> >                 (mptcp_pm_should_add_signal_echo(msk) && msk->pm.remote.port);
> > }
> >
> > static inline bool mptcp_pm_should_rm_signal(struct mptcp_sock *msk)
> > {
> >         return READ_ONCE(msk->pm.addr_signal) & BIT(MPTCP_RM_ADDR_SIGNAL);
> > }
> >
> >
>
> Well, it looks like I gave my Reviewed-by tag too soon. I think it would
> be easier to get the correct results by posting more revisions of the
> patch set - don't want to introduce mistakes when trying to resolve these
> conflicts when applying to mptcp_net-next repo!
>
> Geliang and Yonglong, what do you think about posting v9, possibly with
> co-developed-by tags?
>

Sounds good. I'll send a v9, with my co-developed-by tags, and keep Yonglong
as the author, when the code is ready and the test passes.

Thanks,
-Geliang

>
> --
> Mat Martineau
> Intel

  reply	other threads:[~2021-07-15  3:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13  6:44 [MPTCP][PATCH v2 mptcp-next] Squash to "mptcp: fix ADD_ADDR and RM_ADDR maybe flush addr_signal each other" Geliang Tang
2021-07-13  6:44 ` [MPTCP][PATCH v2 mptcp-next] Squash to "mptcp: build ADD_ADDR/echo-ADD_ADDR option according pm.add_signal" Geliang Tang
2021-07-13  7:32   ` Geliang Tang
2021-07-13 20:39     ` Mat Martineau
2021-07-15  3:17       ` Geliang Tang [this message]
2021-07-13 10:30   ` Yonglong Li
2021-07-13  6:44 ` [MPTCP][PATCH mptcp-next] Squash to "mptcp: remove MPTCP_ADD_ADDR_IPV6 and MPTCP_ADD_ADDR_PORT" Geliang Tang
2021-07-13 10:30   ` Yonglong Li
2021-07-14  3:10     ` Geliang Tang
2021-07-14  9:49       ` Yonglong Li
2021-07-15  3:45         ` Geliang Tang
2021-07-15  6:13           ` Yonglong Li
2021-07-13  7:30 ` [MPTCP][PATCH v2 mptcp-next] Squash to "mptcp: fix ADD_ADDR and RM_ADDR maybe flush addr_signal each other" Geliang Tang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+WQbwu7s3B2pjpbpfcDYV_215=j=7c59A8M1XxG4m0xVOsAWg@mail.gmail.com' \
    --to=geliangtang@gmail.com \
    --cc=mathew.j.martineau@linux.intel.com \
    --cc=mptcp@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).