Revert "net: rtnetlink: use BIT for flag values"

This reverts commit b3eed4bf84 which is
commit 0569e31f1bc2f50613ba4c219f3ecc0d1174d841 upstream.

It breaks the Android kernel abi and can be brought back in the future
in an abi-safe way if it is really needed.

Bug: 161946584
Change-Id: Idf0c4ae34007eabf54c7269dfb5bd6ec5aca6b9f
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
Greg Kroah-Hartman 2025-10-31 07:58:44 +00:00
commit 2c1c741fc7

View file

@ -10,7 +10,7 @@ typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *,
typedef int (*rtnl_dumpit_func)(struct sk_buff *, struct netlink_callback *);
enum rtnl_link_flags {
RTNL_FLAG_DOIT_UNLOCKED = BIT(0),
RTNL_FLAG_DOIT_UNLOCKED = 1,
};
enum rtnl_kinds {