kernel-netlink: Extract shared route handling code in net/ipsec