1. 22 Nov, 2023 1 commit
  2. 21 Nov, 2023 21 commits
  3. 20 Nov, 2023 9 commits
  4. 19 Nov, 2023 4 commits
  5. 17 Nov, 2023 5 commits
    • Kees Cook's avatar
      MAINTAINERS: Add netdev subsystem profile link · 76df934c
      Kees Cook authored
      The netdev subsystem has had a subsystem process document for a while
      now. Link it appropriately in MAINTAINERS with the P: tag.
      
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Eric Dumazet <edumazet@google.com>
      Cc: Paolo Abeni <pabeni@redhat.com>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarKees Cook <keescook@chromium.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      76df934c
    • David S. Miller's avatar
      Merge branch 'rxrpc-ack-fixes' · 3c15504a
      David S. Miller authored
      David Howells says:
      
      ====================
      rxrpc: ACK handling fixes
      
      Here are a couple of patches to fix ACK handling in AF_RXRPC:
      
       (1) Allow RTT determination to use an ACK of any type as the response from
           which to calculate RTT, provided ack.serial matches the serial number
           of the outgoing packet.
      
       (2) Defer the response to a PING ACK packet (or any ACK with the
           REQUEST_ACK flag set) until after we've parsed the packet so that we
           carry up to date information if the Tx or Rx rings are advanced.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3c15504a
    • David Howells's avatar
      rxrpc: Defer the response to a PING ACK until we've parsed it · 1a01319f
      David Howells authored
      Defer the generation of a PING RESPONSE ACK in response to a PING ACK until
      we've parsed the PING ACK so that we pick up any changes to the packet
      queue so that we can update ackinfo.
      
      This is also applied to an ACK generated in response to an ACK with the
      REQUEST_ACK flag set.
      
      Note that whilst the problem was added in commit 248f219c, it didn't
      really matter at that point because the ACK was proposed in softirq mode
      and generated asynchronously later in process context, taking the latest
      values at the time.  But this fix is only needed since the move to parse
      incoming packets in an I/O thread rather than in softirq and generate the
      ACK at point of proposal (b0346843).
      
      Fixes: 248f219c ("rxrpc: Rewrite the data and ack handling code")
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Marc Dionne <marc.dionne@auristor.com>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: linux-afs@lists.infradead.org
      cc: netdev@vger.kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1a01319f
    • David Howells's avatar
      rxrpc: Fix RTT determination to use any ACK as a source · 3798680f
      David Howells authored
      Fix RTT determination to be able to use any type of ACK as the response
      from which RTT can be calculated provided its ack.serial is non-zero and
      matches the serial number of an outgoing DATA or ACK packet.  This
      shouldn't be limited to REQUESTED-type ACKs as these can have other types
      substituted for them for things like duplicate or out-of-order packets.
      
      Fixes: 4700c4d8 ("rxrpc: Fix loss of RTT samples due to interposed ACK")
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      cc: Marc Dionne <marc.dionne@auristor.com>
      cc: "David S. Miller" <davem@davemloft.net>
      cc: Eric Dumazet <edumazet@google.com>
      cc: Jakub Kicinski <kuba@kernel.org>
      cc: Paolo Abeni <pabeni@redhat.com>
      cc: linux-afs@lists.infradead.org
      cc: netdev@vger.kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      3798680f
    • Paolo Abeni's avatar
      kselftest: rtnetlink: fix ip route command typo · 75a50c4f
      Paolo Abeni authored
      The blamed commit below introduced a typo causing 'gretap' test-case
      failures:
      
      ./rtnetlink.sh  -t kci_test_gretap -v
      COMMAND: ip link add name test-dummy0 type dummy
      COMMAND: ip link set test-dummy0 up
      COMMAND: ip netns add testns
      COMMAND: ip link help gretap 2>&1 | grep -q '^Usage:'
      COMMAND: ip -netns testns link add dev gretap00 type gretap seq key 102 local 172.16.1.100 remote 172.16.1.200
      COMMAND: ip -netns testns addr add dev gretap00 10.1.1.100/24
      COMMAND: ip -netns testns link set dev gretap00 ups
          Error: either "dev" is duplicate, or "ups" is a garbage.
      COMMAND: ip -netns testns link del gretap00
      COMMAND: ip -netns testns link add dev gretap00 type gretap external
      COMMAND: ip -netns testns link del gretap00
      FAIL: gretap
      
      Fix it by using the correct keyword.
      
      Fixes: 9c2a19f7 ("kselftest: rtnetlink.sh: add verbose flag")
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      Reviewed-by: default avatarHangbin Liu <liuhangbin@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      75a50c4f