On Sat, Jan 06, 2018 at 01:13:08AM +0100, Florian Westphal wrote:
> xfrm_policy_cache_flush can sleep, so it cannot be called while holding
> a spinlock.  We could release the lock first, but I don't see why we need
> to invoke this function here in first place, the packet path won't reuse
> an xdst entry unless its still valid.
> 
> While at it, add an annotation to xfrm_policy_cache_flush, it would
> have probably caught this bug sooner.
> 
> Fixes: ec30d78c14a813 ("xfrm: add xdst pcpu cache")
> Reported-by: syzbot+e149f7d1328c26f9c...@syzkaller.appspotmail.com
> Signed-off-by: Florian Westphal <f...@strlen.de>

Applied, thanks a lot!

Reply via email to