commit | b557416532f3db745cb9cceaaf343b4bc5b57003 | [log] [tgz] |
---|---|---|
author | Christophe Gouault <christophe.gouault@6wind.com> | Tue Oct 08 05:56:54 2013 -0700 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Wed Oct 09 15:29:05 2013 -0700 |
tree | bbac257a168517e8f9f53c56990d1fcb379ccd08 | |
parent | 9abde37cde92e9b84f2f72aad9a03635972ffdf3 [diff] |
xfrm: enable to set non-wildcard mark 0 on SAs and SPs ip xfrm considers that the user-defined mark is "any" as soon as (mark.v & mark.m == 0), which prevents from specifying non-wildcard marks that include the value 0 (typically 0/0xffffffff). Yet, matching exactly mark 0 is useful for instance to separate vti policies from global policies. Always configure the user mark if mark.m != 0. Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com>