mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 20:54:10 +08:00
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:
parent
b022f8866e
commit
10d48705d5
@ -131,6 +131,8 @@
|
||||
|
||||
#define SO_BUF_LOCK 72
|
||||
|
||||
#define SO_RESERVE_MEM 73
|
||||
|
||||
#if !defined(__KERNEL__)
|
||||
|
||||
#if __BITS_PER_LONG == 64
|
||||
|
@ -142,6 +142,8 @@
|
||||
|
||||
#define SO_BUF_LOCK 72
|
||||
|
||||
#define SO_RESERVE_MEM 73
|
||||
|
||||
#if !defined(__KERNEL__)
|
||||
|
||||
#if __BITS_PER_LONG == 64
|
||||
|
@ -123,6 +123,8 @@
|
||||
|
||||
#define SO_BUF_LOCK 0x4046
|
||||
|
||||
#define SO_RESERVE_MEM 0x4047
|
||||
|
||||
#if !defined(__KERNEL__)
|
||||
|
||||
#if __BITS_PER_LONG == 64
|
||||
|
Loading…
Reference in New Issue
Block a user