]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ipxfrm: wrong nl msg sent on deleteall cmd
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 15 Apr 2015 12:00:53 +0000 (14:00 +0200)
committerStephen Hemminger <shemming@brocade.com>
Mon, 20 Apr 2015 17:04:20 +0000 (10:04 -0700)
commit782cf01dc01a7af01928bb12f60683f2bfe25a96
treeae8dc7543bf044dc0b71a1f34c8aef354ae8924b
parentd652ccbf8195e63ff6eedb923fad060b065fd18a
ipxfrm: wrong nl msg sent on deleteall cmd

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'.

Reported-by: Gregory Hoggarth <Gregory.Hoggarth@alliedtelesis.co.nz>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
ip/xfrm_policy.c
ip/xfrm_state.c