On Mon, Aug 06, 2018 at 01:13:54PM +0200, Fernando Fernandez Mancera wrote: > As no "genre" on pf.os exceed 16 bytes of length, we reduce OSF_GENRE_SIZE > parameter to 16 bytes and use it instead of IFNAMSIZ. > > Signed-off-by: Fernando Fernandez Mancera <ffmancera@xxxxxxxxxx> > --- > include/linux/netfilter/nfnetlink_osf.h | 2 ++ > net/netfilter/nft_osf.c | 6 ++---- > 2 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/include/linux/netfilter/nfnetlink_osf.h b/include/linux/netfilter/nfnetlink_osf.h > index a7311bc03d3a..6215dbf4f122 100644 > --- a/include/linux/netfilter/nfnetlink_osf.h > +++ b/include/linux/netfilter/nfnetlink_osf.h > @@ -4,6 +4,8 @@ > > #include <uapi/linux/netfilter/nfnetlink_osf.h> > > +#define OSF_GENRE_SIZE 16 You have to place this in the userspace API (uapi). -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html