Revert "neighbour: fix unaligned access to pneigh_entry"

This reverts commit 9fcc3c3d26 which is
commit ed779fe4c9b5a20b4ab4fd6f3e19807445bb78c7 upstream.

It breaks the Android kernel abi and is not needed for Android systems,
so it is safe to revert.

Bug: 161946584
Change-Id: I0aa37ddcb0939b55d0d1b74ab3e0432b02cc5285
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2023-06-28 10:28:01 +00:00
parent b7321283a9
commit 2f2122a869

View File

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