hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
kernel/include/net/mpls_iptunnel.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (c) 2015 Cumulus Networks, Inc.
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of version 2 of the GNU General Public
6
- * License as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful, but
9
- * WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
- * General Public License for more details.
124 */
135
146 #ifndef _NET_MPLS_IPTUNNEL_H
....@@ -19,7 +11,7 @@
1911 u8 ttl_propagate;
2012 u8 default_ttl;
2113 u8 reserved1;
22
- u32 label[0];
14
+ u32 label[];
2315 };
2416
2517 static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate)