[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MW4PR11MB577651A1E86058570D617CB0FD999@MW4PR11MB5776.namprd11.prod.outlook.com>
Date: Fri, 29 Jul 2022 08:59:13 +0000
From: "Drewek, Wojciech" <wojciech.drewek@...el.com>
To: David Ahern <dsahern@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "stephen@...workplumber.org" <stephen@...workplumber.org>,
"gnault@...hat.com" <gnault@...hat.com>
Subject: RE: [PATCH iproute-next v3 2/3] lib: Introduce ppp protocols
> -----Original Message-----
> From: David Ahern <dsahern@...il.com>
> Sent: piÄ…tek, 29 lipca 2022 00:23
> To: Drewek, Wojciech <wojciech.drewek@...el.com>; netdev@...r.kernel.org
> Cc: stephen@...workplumber.org; gnault@...hat.com
> Subject: Re: [PATCH iproute-next v3 2/3] lib: Introduce ppp protocols
>
> On 7/28/22 5:01 AM, Wojciech Drewek wrote:
> > diff --git a/include/uapi/linux/ppp_defs.h b/include/uapi/linux/ppp_defs.h
> > new file mode 100644
> > index 000000000000..0013dc77e3b9
> > --- /dev/null
> > +++ b/include/uapi/linux/ppp_defs.h
> > @@ -0,0 +1,37 @@
> > +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
> > +/*
> > + * ppp_defs.h - PPP definitions.
> > + *
> > + * Copyright 1994-2000 Paul Mackerras.
> > + *
> > + * This program is free software; you can redistribute it and/or
> > + * modify it under the terms of the GNU General Public License
> > + * version 2 as published by the Free Software Foundation.
> > + */
> > +
> > +/*
> > + * Protocol field values.
> > + */
> > +#define PPP_IP 0x21 /* Internet Protocol */
> > +#define PPP_AT 0x29 /* AppleTalk Protocol */
> > +#define PPP_IPX 0x2b /* IPX protocol */
> > +#define PPP_VJC_COMP 0x2d /* VJ compressed TCP */
> > +#define PPP_VJC_UNCOMP 0x2f /* VJ uncompressed TCP */
> > +#define PPP_MP 0x3d /* Multilink protocol */
> > +#define PPP_IPV6 0x57 /* Internet Protocol Version 6 */
> > +#define PPP_COMPFRAG 0xfb /* fragment compressed below bundle */
> > +#define PPP_COMP 0xfd /* compressed packet */
> > +#define PPP_MPLS_UC 0x0281 /* Multi Protocol Label Switching - Unicast */
> > +#define PPP_MPLS_MC 0x0283 /* Multi Protocol Label Switching - Multicast */
> > +#define PPP_IPCP 0x8021 /* IP Control Protocol */
> > +#define PPP_ATCP 0x8029 /* AppleTalk Control Protocol */
> > +#define PPP_IPXCP 0x802b /* IPX Control Protocol */
> > +#define PPP_IPV6CP 0x8057 /* IPv6 Control Protocol */
> > +#define PPP_CCPFRAG 0x80fb /* CCP at link level (below MP bundle) */
> > +#define PPP_CCP 0x80fd /* Compression Control Protocol */
> > +#define PPP_MPLSCP 0x80fd /* MPLS Control Protocol */
> > +#define PPP_LCP 0xc021 /* Link Control Protocol */
> > +#define PPP_PAP 0xc023 /* Password Authentication Protocol */
> > +#define PPP_LQR 0xc025 /* Link Quality Report protocol */
> > +#define PPP_CHAP 0xc223 /* Cryptographic Handshake Auth. Protocol */
> > +#define PPP_CBCP 0xc029 /* Callback Control Protocol */
>
> uapi files are perioodically synced from kernel releases. This is a new
> one, so I pulled in the file from the point of last headers sync. The
> API file from that sync causes compile errors. Please rebase to top of
> iproute2-next tree.
Done
What is the standard procedure in such situation?
Should I create separate commit with uapi update, should
I not include uapi changes and ask you to update it?
Powered by blists - more mailing lists