diff options
author | Tobias Brunner <tobias@strongswan.org> | 2015-08-05 16:51:38 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2015-08-18 12:06:08 +0200 |
commit | 6bd1216e7a8a41eb6c103c27a05f50871e1aef99 (patch) | |
tree | ef4bf9aec5b84f3b1c0bbd2ee2d043393b1d5f5e /src/libimcv/plugins/imv_os | |
parent | 7ff7ce3ed661c8e20ce6b0bee1df340a03b5a4da (diff) | |
download | strongswan-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/libimcv/plugins/imv_os')
0 files changed, 0 insertions, 0 deletions