[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2003312012340.6572@n3.vanv.qr>
Date: Tue, 31 Mar 2020 20:14:17 +0200 (CEST)
From: Jan Engelhardt <jengelh@...i.de>
To: Maciej Żenczykowski <zenczykowski@...il.com>
cc: Maciej Żenczykowski <maze@...gle.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Florian Westphal <fw@...len.de>,
Linux Network Development Mailing List
<netdev@...r.kernel.org>,
Netfilter Development Mailing List
<netfilter-devel@...r.kernel.org>,
Manoj Basapathi <manojbm@...eaurora.org>,
Subash Abhinov Kasiviswanathan <subashab@...eaurora.org>
Subject: Re: [PATCH] netfilter: IDLETIMER target v1 - match Android layout
On Tuesday 2020-03-31 18:35, Maciej Żenczykowski wrote:
>Signed-off-by: Maciej Żenczykowski <maze@...gle.com>
>---
> include/uapi/linux/netfilter/xt_IDLETIMER.h | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/include/uapi/linux/netfilter/xt_IDLETIMER.h b/include/uapi/linux/netfilter/xt_IDLETIMER.h
>index 434e6506abaa..49ddcdc61c09 100644
>--- a/include/uapi/linux/netfilter/xt_IDLETIMER.h
>+++ b/include/uapi/linux/netfilter/xt_IDLETIMER.h
>@@ -48,6 +48,7 @@ struct idletimer_tg_info_v1 {
>
> char label[MAX_IDLETIMER_LABEL_SIZE];
>
>+ __u8 send_nl_msg; /* unused: for compatibility with Android */
> __u8 timer_type;
>
> /* for kernel module internal use only */
>--
This breaks the ABI for law-abiding Linux users (i.e. the GNU/Linux
subgroup of it), which is equally terrible.
You will have to introduce a IDLETIMER v2.
Powered by blists - more mailing lists