• David S. Miller's avatar
    Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec · fde9cd69
    David S. Miller authored
    Steffen Klassert says:
    
    ====================
    pull request (net): ipsec 2018-12-18
    
    1) Fix error return code in xfrm_output_one()
       when no dst_entry is attached to the skb.
       From Wei Yongjun.
    
    2) The xfrm state hash bucket count reported to
       userspace is off by one. Fix from Benjamin Poirier.
    
    3) Fix NULL pointer dereference in xfrm_input when
       skb_dst_force clears the dst_entry.
    
    4) Fix freeing of xfrm states on acquire. We use a
       dedicated slab cache for the xfrm states now,
       so free it properly with kmem_cache_free.
       From Mathias Krause.
    
    Please pull or let me know if there are problems.
    ====================
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fde9cd69
xfrm_state.c 60.7 KB