diff options
author | David S. Miller <davem@davemloft.net> | 2013-03-22 17:53:09 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-22 17:53:09 +0100 |
commit | ea3d1cc285bf1ae1fa81b47418cd7fd79990bb06 (patch) | |
tree | a5b4cd52ec5e27d169bf3115d732d2106bc78fc2 /include/uapi | |
parent | decnet: Move rtm_dn_policy to dn_route to make it available if !CONFIG_DECNET... (diff) | |
parent | tcp: preserve ACK clocking in TSO (diff) | |
download | linux-ea3d1cc285bf1ae1fa81b47418cd7fd79990bb06.tar.xz linux-ea3d1cc285bf1ae1fa81b47418cd7fd79990bb06.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Pull to get the thermal netlink multicast group name fix, otherwise
the assertion added in net-next to netlink to detect that kind of bug
makes systems unbootable for some folks.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/packet_diag.h | 4 | ||||
-rw-r--r-- | include/uapi/linux/unix_diag.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/uapi/linux/packet_diag.h b/include/uapi/linux/packet_diag.h index 93f5fa94a431..afafd703ad92 100644 --- a/include/uapi/linux/packet_diag.h +++ b/include/uapi/linux/packet_diag.h @@ -33,9 +33,11 @@ enum { PACKET_DIAG_TX_RING, PACKET_DIAG_FANOUT, - PACKET_DIAG_MAX, + __PACKET_DIAG_MAX, }; +#define PACKET_DIAG_MAX (__PACKET_DIAG_MAX - 1) + struct packet_diag_info { __u32 pdi_index; __u32 pdi_version; diff --git a/include/uapi/linux/unix_diag.h b/include/uapi/linux/unix_diag.h index b8a24941db21..b9e2a6a7446f 100644 --- a/include/uapi/linux/unix_diag.h +++ b/include/uapi/linux/unix_diag.h @@ -39,9 +39,11 @@ enum { UNIX_DIAG_MEMINFO, UNIX_DIAG_SHUTDOWN, - UNIX_DIAG_MAX, + __UNIX_DIAG_MAX, }; +#define UNIX_DIAG_MAX (__UNIX_DIAG_MAX - 1) + struct unix_diag_vfs { __u32 udiag_vfs_ino; __u32 udiag_vfs_dev; |