Re: [PATCH iproute2] ipxfrm: wrong nl msg sent on deleteall cmd

2015-04-20 Thread Stephen Hemminger
On Wed, 15 Apr 2015 14:00:53 +0200 Nicolas Dichtel wrote: > XFRM netlink family is independent from the route netlink family. It's wrong > to call rtnl_wilddump_request(), because it will add a 'struct ifinfomsg' into > the header and the kernel will complain (at least for xfrm state): > > netli

[PATCH iproute2] ipxfrm: wrong nl msg sent on deleteall cmd

2015-04-15 Thread Nicolas Dichtel
XFRM netlink family is independent from the route netlink family. It's wrong to call rtnl_wilddump_request(), because it will add a 'struct ifinfomsg' into the header and the kernel will complain (at least for xfrm state): netlink: 24 bytes leftover after parsing attributes in process `ip'. Repor