• David S. Miller's avatar
    Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec · d00551b4
    David S. Miller authored
    Steffen Klassert says:
    
    ====================
    pull request (net): ipsec 2021-08-04
    
    1) Fix a sysbot reported memory leak in xfrm_user_rcv_msg.
       From Pavel Skripkin.
    
    2) Revert "xfrm: policy: Read seqcount outside of rcu-read side
       in xfrm_policy_lookup_bytype". This commit tried to fix a
       lockin bug, but only cured some of the symptoms. A proper
       fix is applied on top of this revert.
    
    3) Fix a locking bug on xfrm state hash resize. A recent change
       on sequence counters accidentally repaced a spinlock by a mutex.
       Fix from Frederic Weisbecker.
    
    4) Fix possible user-memory-access in xfrm_user_rcv_msg_compat().
       From Dmitry Safonov.
    
    5) Add initialiation sefltest fot xfrm_spdattr_type_t.
       From Dmitry Safonov.
    ====================
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    d00551b4
xfrm_policy.c 105 KB