net: add reserved fields to neighbour
JIRA: https://issues.redhat.com/browse/RHEL-21356 Upstream Status: RHEL-only neighbour is protected by kABI, add 2 reserved fields. We can't simply extend it in the future because of the embedded variable size data at the end. Signed-off-by: Sabrina Dubroca <sdubroca@redhat.com>
This commit is contained in:
parent
7f36182052
commit
b5d6acfbd1
|
@ -30,6 +30,8 @@
|
|||
#include <linux/workqueue.h>
|
||||
#include <net/rtnetlink.h>
|
||||
|
||||
#include <linux/rh_kabi.h>
|
||||
|
||||
/*
|
||||
* NUD stands for "neighbor unreachability detection"
|
||||
*/
|
||||
|
@ -160,6 +162,10 @@ struct neighbour {
|
|||
struct rcu_head rcu;
|
||||
struct net_device *dev;
|
||||
netdevice_tracker dev_tracker;
|
||||
|
||||
RH_KABI_RESERVE(1)
|
||||
RH_KABI_RESERVE(2)
|
||||
|
||||
u8 primary_key[0];
|
||||
} __randomize_layout;
|
||||
|
||||
|
|
Loading…
Reference in New Issue