fix up for "net: add new socket option SO_RESERVE_MEM"

Some architectures do not include uapi/asm/socket.h

Fixes: 2bb2f5fb21 ("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>
This commit is contained in:
Stephen Rothwell 2021-10-01 14:43:30 +01:00 committed by David S. Miller
parent b022f8866e
commit 10d48705d5
3 changed files with 6 additions and 0 deletions

View File

@ -131,6 +131,8 @@
#define SO_BUF_LOCK 72
#define SO_RESERVE_MEM 73
#if !defined(__KERNEL__)
#if __BITS_PER_LONG == 64

View File

@ -142,6 +142,8 @@
#define SO_BUF_LOCK 72
#define SO_RESERVE_MEM 73
#if !defined(__KERNEL__)
#if __BITS_PER_LONG == 64

View File

@ -123,6 +123,8 @@
#define SO_BUF_LOCK 0x4046
#define SO_RESERVE_MEM 0x4047
#if !defined(__KERNEL__)
#if __BITS_PER_LONG == 64