1. 20 Feb, 2023 34 commits
  2. 17 Feb, 2023 3 commits
    • Florian Westphal's avatar
      netfilter: let reset rules clean out conntrack entries · 2954fe60
      Florian Westphal authored
      iptables/nftables support responding to tcp packets with tcp resets.
      
      The generated tcp reset packet passes through both output and postrouting
      netfilter hooks, but conntrack will never see them because the generated
      skb has its ->nfct pointer copied over from the packet that triggered the
      reset rule.
      
      If the reset rule is used for established connections, this
      may result in the conntrack entry to be around for a very long
      time (default timeout is 5 days).
      
      One way to avoid this would be to not copy the nf_conn pointer
      so that the rest packet passes through conntrack too.
      
      Problem is that output rules might not have the same conntrack
      zone setup as the prerouting ones, so its possible that the
      reset skb won't find the correct entry.  Generating a template
      entry for the skb seems error prone as well.
      
      Add an explicit "closing" function that switches a confirmed
      conntrack entry to closed state and wire this up for tcp.
      
      If the entry isn't confirmed, no action is needed because
      the conntrack entry will never be committed to the table.
      Reported-by: default avatarRussel King <linux@armlinux.org.uk>
      Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
      Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
      2954fe60
    • David S. Miller's avatar
      Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/net · 675f176b
      David S. Miller authored
      Some of the devlink bits were tricky, but I think I got it right.
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      675f176b
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-2023-02-17' of git://anongit.freedesktop.org/drm/drm · ec35307e
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Just a final collection of misc fixes, the biggest disables the
        recently added dynamic debugging support, it has a regression that
        needs some bigger fixes.
      
        Otherwise a bunch of fixes across the board, vc4, amdgpu and vmwgfx
        mostly, with some smaller i915 and ast fixes.
      
        drm:
         - dynamic debug disable for now
      
        fbdev:
         - deferred i/o device close fix
      
        amdgpu:
         - Fix GC11.x suspend warning
         - Fix display warning
      
        vc4:
         - YUV planes fix
         - hdmi display fix
         - crtc reduced blanking fix
      
        ast:
         - fix start address computation
      
        vmwgfx:
         - fix bo/handle races
      
        i915:
         - gen11 WA fix"
      
      * tag 'drm-fixes-2023-02-17' of git://anongit.freedesktop.org/drm/drm:
        drm/amd/display: Fail atomic_check early on normalize_zpos error
        drm/amd/amdgpu: fix warning during suspend
        drm/vmwgfx: Do not drop the reference to the handle too soon
        drm/vmwgfx: Stop accessing buffer objects which failed init
        drm/i915/gen11: Wa_1408615072/Wa_1407596294 should be on GT list
        drm: Disable dynamic debug as broken
        drm/ast: Fix start address computation
        fbdev: Fix invalid page access after closing deferred I/O devices
        drm/vc4: crtc: Increase setup cost in core clock calculation to handle extreme reduced blanking
        drm/vc4: hdmi: Always enable GCP with AVMUTE cleared
        drm/vc4: Fix YUV plane handling when planes are in different buffers
      ec35307e
  3. 16 Feb, 2023 3 commits