Re: [PATCH] fib_rules: add minimum prefix length
From: Stefan Tomanek <hidden>
Date: 2013-07-23 22:52:48
Dies schrieb Stephen Hemminger (stephen@networkplumber.org):
quoted
--- a/include/uapi/linux/fib_rules.h +++ b/include/uapi/linux/fib_rules.h@@ -45,7 +45,7 @@ enum { FRA_FLOW, /* flow/class id */ FRA_UNUSED6, FRA_UNUSED7, - FRA_UNUSED8, + FRA_TABLE_PREFIXLEN_MIN, FRA_TABLE, /* Extended table id */ FRA_FWMASK, /* mask for netfilter mark */ FRA_OIFNAME,Not sure if reusing an entry or adding a new value is better to retain compatibility.
Well, neither am I; my first changesets did in fact act a new value, but I then switched to reusing an existing one. I am open to suggestions from people having more experience with the existing code base.
Also don't you have to update FRA_GENERIC_POLICY?
Well, I'm not sure - as I said, I was glad that I was able to add this functionality (which I was craving for quite some time now) to the kernel, so please feel free to point out (and possibly iron out) any issues with it. Thank you very much for your response Stefan Tomanek