Re: [PATCH] netfilter: uapi: Merge xt_*.h/c and ipt_*.h which has same name.

From: Florian Westphal
Date: Thu Jan 02 2025 - 07:23:51 EST


David Laight <david.laight.linux@xxxxxxxxx> wrote:
> On Wed, 1 Jan 2025 23:46:44 +0100
> Florian Westphal <fw@xxxxxxxxx> wrote:
>
> > egyszeregy@xxxxxxxxxxx <egyszeregy@xxxxxxxxxxx> wrote:
> > > /* match info */
> > > -struct xt_dscp_info {
> > > +struct xt_dscp_match_info {
> >
> > To add to what Jan already pointed out, such renames
> > break UAPI, please don't do this.
>
> Doesn't the header file rename also break UAPI?

Sure, thats what Jan already pointed out, plus a suggestion
on how to do this correctly.