aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-08-05 16:51:38 +0200
committerTobias Brunner <tobias@strongswan.org>2015-08-18 12:06:08 +0200
commit6bd1216e7a8a41eb6c103c27a05f50871e1aef99 (patch)
treeef4bf9aec5b84f3b1c0bbd2ee2d043393b1d5f5e /src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c
parent7ff7ce3ed661c8e20ce6b0bee1df340a03b5a4da (diff)
downloadstrongswan-6bd1216e7a8a41eb6c103c27a05f50871e1aef99.tar.bz2
strongswan-6bd1216e7a8a41eb6c103c27a05f50871e1aef99.tar.xz
kernel-netlink: Avoid route dump if routing rule excludes traffic with a certain mark
If the routing rule we use to direct traffic to our own routing table excludes traffic with a certain mark (fwmark = !<mark>) we can simplify the route lookup and avoid dumping all routes by passing the mark to the request. That way our own routes are ignored and we get the preferred route back without having to dump and analyze all routes, which is quite a burden on hosts with lots of routes.
Diffstat (limited to 'src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c')
0 files changed, 0 insertions, 0 deletions