[Swan] KLIPS pfkey_create kernel oops v3.17

Paul Wouters paul at nohats.ca
Mon May 30 15:35:50 UTC 2016

On Fri, 27 May 2016, Ofer Heifetz wrote:

> To overcome this I simply changed the :
> # define key_pid(sk) ((struct key_opt*)&(sk))->key_pid
> To:
> # define key_pid(sk) ((struct key_opt*)(sk))->key_pid
> key_pid should be saved in sock struct w/o overwriting a valuable field.

Thanks for the patch, will be in 3.18.


More information about the Swan mailing list