All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Steffen Klassert <steffen.klassert@secunet.com>
Cc: netdev@vger.kernel.org, eric.dumazet@gmail.com,
	Eric Dumazet <edumazet@google.com>
Subject: [PATCH net 0/2] xfrm: two fixes around use_time
Date: Thu, 26 Jan 2023 11:21:28 +0000	[thread overview]
Message-ID: <20230126112130.2341075-1-edumazet@google.com> (raw)

First patch fixes a long/time64_t mismatch,
found while addressing a syzbot report.

Second patch adds annotations to reads and
writes of (struct xfrm_lifetime_cur)->use_time field.

Eric Dumazet (2):
  xfrm: consistently use time64_t in xfrm_timer_handler()
  xfrm: annotate data-race around use_time

 net/xfrm/xfrm_policy.c | 11 +++++++----
 net/xfrm/xfrm_state.c  | 18 +++++++++---------
 2 files changed, 16 insertions(+), 13 deletions(-)

-- 
2.39.1.456.gfc5497dd1b-goog


             reply	other threads:[~2023-01-26 11:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-26 11:21 Eric Dumazet [this message]
2023-01-26 11:21 ` [PATCH net 1/2] xfrm: consistently use time64_t in xfrm_timer_handler() Eric Dumazet
2023-01-26 12:04   ` Arnd Bergmann
2023-01-26 11:21 ` [PATCH net 2/2] xfrm: annotate data-race around use_time Eric Dumazet
2023-01-26 12:05   ` Arnd Bergmann
2023-01-30 10:31 ` [PATCH net 0/2] xfrm: two fixes " Steffen Klassert

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=20230126112130.2341075-1-edumazet@google.com \
    --to=edumazet@google.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=steffen.klassert@secunet.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 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.