netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Taehee Yoo <ap420073@gmail.com>
To: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org,
	dsahern@kernel.org, xiyou.wangcong@gmail.com
Cc: ap420073@gmail.com
Subject: [PATCH net-next 0/8] mld: change context from atomic to sleepable
Date: Mon,  8 Feb 2021 17:50:10 +0000	[thread overview]
Message-ID: <20210208175010.4664-1-ap420073@gmail.com> (raw)

This patchset changes context of MLD module.
Before this patch, MLD functions are atomic context so it couldn't use
sleepable functions and flags.
This patchset also contains other refactoring patches, which is to use
list macro, etc.

1~3 and 5~7 are refactoring patches and 4 and 8 patches actually
change context, which is the actual goal of this patchset.
MLD module has used timer API. The timer expiration function is
processed as the atomic context so in order to change context,
it should be replaced.
So, The fourth patch is to switch from timer to delayed_work.
And the eighth patch is to use the mutex instead of spinlock and
rwlock because A critical section of spinlock and rwlock is atomic.

Taehee Yoo (8):
  mld: convert ifmcaddr6 to list macros
  mld: convert ip6_sf_list to list macros
  mld: use mca_{get | put} instead of refcount_{dec | inc}
  mld: convert from timer to delayed work
  mld: rename igmp6 to mld
  mld: convert ipv6_mc_socklist to list macros
  mld: convert ip6_sf_socklist to list macros
  mld: change context of mld module

 .../chelsio/inline_crypto/chtls/chtls_cm.c    |    1 +
 drivers/s390/net/qeth_l3_main.c               |    6 +-
 include/linux/ipv6.h                          |    2 +-
 include/net/if_inet6.h                        |   69 +-
 include/net/ndisc.h                           |   14 +-
 include/uapi/linux/in.h                       |    4 +-
 net/batman-adv/multicast.c                    |    4 +-
 net/dccp/ipv6.c                               |    4 +-
 net/ipv6/addrconf.c                           |    9 +-
 net/ipv6/addrconf_core.c                      |    3 +-
 net/ipv6/af_inet6.c                           |   13 +-
 net/ipv6/icmp.c                               |    4 +-
 net/ipv6/mcast.c                              | 2243 +++++++++--------
 net/ipv6/tcp_ipv6.c                           |    4 +-
 net/sctp/ipv6.c                               |    2 +-
 15 files changed, 1284 insertions(+), 1098 deletions(-)

-- 
2.17.1


             reply	other threads:[~2021-02-08 17:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-08 17:50 Taehee Yoo [this message]
2021-02-09  1:50 ` [PATCH net-next 0/8] mld: change context from atomic to sleepable Cong Wang
2021-02-09  2:17   ` Taehee Yoo
2021-02-09  5:31     ` Cong Wang
2021-02-09  8:09       ` Taehee Yoo

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=20210208175010.4664-1-ap420073@gmail.com \
    --to=ap420073@gmail.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=xiyou.wangcong@gmail.com \
    /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).