[Swan-dev] KLIPS crashes after kernel update

Thomas Geulig geulig at nentec.de
Mon Nov 4 14:19:20 EET 2013


Am Montag, 4. November 2013, 13:00:54 schrieb Roel van Meer:
> Nice! I arrived at the same solution, but missed the fact that
> when calling __ip_select_ident() directly we no longer need the series
> of kernel version checks, so my version is a lot more complicated..
>
> One improvement would be that we don't need the if() in the wrapper.
> The caller sets frag_off to 0 so it will not match anyway.

I've missed that frag_off is always 0.

So the patch is really simple.

Best regards

Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ip_select_ident.patch2
Type: text/x-patch
Size: 474 bytes
Desc: not available
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20131104/ec8041e4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4769 bytes
Desc: not available
URL: <https://lists.libreswan.org/pipermail/swan-dev/attachments/20131104/ec8041e4/attachment.p7s>


More information about the Swan-dev mailing list