Revert "neighbour: Replace zero-length array with flexible-array member"

This reverts commit 314713ff4c which is
commit 08ca27d027c238ed3f9b9968d349cebde44d99a6 upstream.

It breaks the CRC generation of symbols, and doesn't do any functional
changes, so is safe to revert.

Bug: 161946584
Change-Id: I26157e0e928e2b6d60e0acafc892efdad13c12b4
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2023-06-22 10:21:03 +00:00
parent 6635f9a873
commit 3032bd084a

View File

@ -174,7 +174,7 @@ struct pneigh_entry {
struct net_device *dev;
u8 flags;
u8 protocol;
u8 key[];
u8 key[0];
};
/*