On Tue, Nov 3, 2020 at 4:08 AM Herbert Xu wrote:
>
> On Mon, Nov 02, 2020 at 06:32:19PM -0800, Anthony DeRossi wrote:
> > This fixes a regression where valid selectors are incorrectly skipped
> > when xfrm_state_find is called with a non-matching address family (e.g.
> >
On Tue, Nov 3, 2020 at 4:05 AM Herbert Xu wrote:
>
> On Mon, Nov 02, 2020 at 06:32:19PM -0800, Anthony DeRossi wrote:
> > This fixes a regression where valid selectors are incorrectly skipped
> > when xfrm_state_find is called with a non-matching address family (e.g.
> >
state_find before checking the selector in
xfrm_state_look_at. The template's family should also be used for
selector matching, otherwise valid selectors may be skipped.
Fixes: e94ee171349d ("xfrm: Use correct address family in xfrm_state_find")
Signed-off-by: Anthony DeRossi
---