Re: [PATCH net] xfrm: fix null pointer dereference on state and tmpl sort

2017-08-03 Thread Steffen Klassert
On Tue, Aug 01, 2017 at 11:21:46PM +0900, Koichiro Den wrote: > Creating sub policy that matches the same outer flow as main policy does > leads to a null pointer dereference if the outer mode's family is ipv4. > For userspace compatibility, this patch just eliminates the crash i.e., > does not int

[PATCH net] xfrm: fix null pointer dereference on state and tmpl sort

2017-08-01 Thread Koichiro Den
Creating sub policy that matches the same outer flow as main policy does leads to a null pointer dereference if the outer mode's family is ipv4. For userspace compatibility, this patch just eliminates the crash i.e., does not introduce any new sorting rule, which would fruitlessly affect all but th