summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2021-11-17 18:08:25 +0530
committerVignesh Raghavendra <vigneshr@ti.com>2021-12-27 20:40:02 +0530
commita33d1db14eb5c72031aaefc0bfbad114e3415a02 (patch)
tree0adb809e7876c166af43054583c6155a1f50bc2a /arch/parisc
parentaf8d45d947327131c662f7c9804e1b24b05336f5 (diff)
net/socket: Fix compilation error on non-ARM builds
Fix compilation error on non-ARM builds . Fixes: b98f7ec080e0 ("net: socket: Forward extra timestamp of received skb to user space") Fixes: 89b354a68fd0 ("net: socket: Pass on redundant net info to sock_recv_errqueue") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/uapi/asm/socket.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/parisc/include/uapi/asm/socket.h b/arch/parisc/include/uapi/asm/socket.h
index 10173c32195e..c3b547656337 100644
--- a/arch/parisc/include/uapi/asm/socket.h
+++ b/arch/parisc/include/uapi/asm/socket.h
@@ -139,4 +139,10 @@
#endif
+#define SO_REDUNDANT 0x404F
+#define SCM_REDUNDANT SO_REDUNDANT
+
+#define SO_RED_TIMESTAMPING 0x4050
+#define SCM_RED_TIMESTAMPING SO_RED_TIMESTAMPING
+
#endif /* _UAPI_ASM_SOCKET_H */