[strongSwan] linux 4.3 regression: received netlink error: Invalid argument (22)

Andreas Hofmeister andi at collax.com
Mon Nov 9 22:24:07 CET 2015


On 11/09/2015 09:39 PM, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Since kernel 4.3 routing seems to be broken. I get some messages
> in /var/log/daemon.log saying
>
> :
> Nov  9 21:24:44 cecil charon: 13[IKE] installing new virtual IP 172.19.97.237
> Nov  9 21:24:44 cecil charon: 13[KNL] received netlink error: Invalid argument (22)

We got similar errors when adding routes on a device with preferred 
source address (in a different context though). Stuff like

   ip route add to 172.16.0.0/16 dev eth0 src 172.16.0.2 table 123

does not seem to work anymore, which I guess is the equivalent to what 
charon does here.

A git bisect on the Kernel source came up with that commit:

---8<---
commit 021dd3b8a142d482cb65a27bf6644e3764001460
Author: David Ahern <dsa at cumulusnetworks.com>
Date:   Thu Aug 13 14:59:06 2015 -0600

     net: Add routes to the table associated with the device
--->8---

We did not come around to track down what exactly in that commit did 
break our use case, let alone what reverting that would mean.

Ciao
   Andi



More information about the Users mailing list