fix up for "net: add new socket option SO_RESERVE_MEM"
authorStephen Rothwell <sfr@canb.auug.org.au>
Fri, 1 Oct 2021 13:43:30 +0000 (14:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2021 14:00:21 +0000 (15:00 +0100)
Some architectures do not include uapi/asm/socket.h

Fixes: 845fb0c181ce ("net: add new socket option SO_RESERVE_MEM")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/alpha/include/uapi/asm/socket.h
arch/mips/include/uapi/asm/socket.h
arch/parisc/include/uapi/asm/socket.h

index 1dd9baf4a6c218b971f858e98a6512fa379a7063..284d28755b8de6c4ae9278710db152e9121ad267 100644 (file)
 
 #define SO_BUF_LOCK            72
 
+#define SO_RESERVE_MEM         73
+
 #if !defined(__KERNEL__)
 
 #if __BITS_PER_LONG == 64
index 1eaf6a1ca56105aad156db0731833f5d085701aa..24e0efb360f6729f4fee8a146e5da3a751ec6667 100644 (file)
 
 #define SO_BUF_LOCK            72
 
+#define SO_RESERVE_MEM         73
+
 #if !defined(__KERNEL__)
 
 #if __BITS_PER_LONG == 64
index 8baaad52d79962db7c56a54fc27b6b0a6344be75..845ddc63c88227db264f454559fdaefb13d72222 100644 (file)
 
 #define SO_BUF_LOCK            0x4046
 
+#define SO_RESERVE_MEM         0x4047
+
 #if !defined(__KERNEL__)
 
 #if __BITS_PER_LONG == 64