xlat: update NDA_* constants
* xlat/rtnl_neigh_attrs.in (NDA_PROTOCOL): New constant introduced by Linux kernel commit v5.0-rc1~129^2~79. * rtnl_neigh.c (ndmsg_nla_decoders): Add NDA_PROTOCOL. * NEWS: Mention this.
This commit is contained in:
2
NEWS
2
NEWS
@ -2,7 +2,7 @@ Noteworthy changes in release ?.?? (????-??-??)
|
||||
===============================================
|
||||
|
||||
* Improvements
|
||||
* Updated lists of BPF_*, BTRFS_*, KERN_*, and *_MAGIC constants.
|
||||
* Updated lists of BPF_*, BTRFS_*, KERN_*, NDA_*, and *_MAGIC constants.
|
||||
|
||||
* Bug fixes
|
||||
* Fixed strace-k test on alpha.
|
||||
|
@ -68,6 +68,7 @@ static const nla_decoder_t ndmsg_nla_decoders[] = {
|
||||
[NDA_MASTER] = decode_nla_ifindex,
|
||||
[NDA_LINK_NETNSID] = decode_nla_u32,
|
||||
[NDA_SRC_VNI] = NULL,
|
||||
[NDA_PROTOCOL] = decode_nla_u8,
|
||||
};
|
||||
|
||||
DECL_NETLINK_ROUTE_DECODER(decode_ndmsg)
|
||||
|
@ -10,3 +10,4 @@ NDA_IFINDEX 8
|
||||
NDA_MASTER 9
|
||||
NDA_LINK_NETNSID 10
|
||||
NDA_SRC_VNI 11
|
||||
NDA_PROTOCOL 12
|
||||
|
Reference in New Issue
Block a user