|
|
0e7bc3 |
From f2a0309a0908278f9037e11a2feb54be43347e63 Mon Sep 17 00:00:00 2001
|
|
|
0e7bc3 |
From: Vincent Bernat <vincent@bernat.ch>
|
|
|
0e7bc3 |
Date: Sat, 7 Nov 2020 20:35:14 +0100
|
|
|
0e7bc3 |
Subject: [PATCH 9/9] net: evaluate net.ipv4.conf.all.proxy_arp_pvlan
|
|
|
0e7bc3 |
Git-commit: 1af5318c00a8acc33a90537af49b3f23f72a2c4b
|
|
|
0e7bc3 |
Patch-mainline: v5.11-rc1
|
|
|
0e7bc3 |
References: git-fixes
|
|
|
0e7bc3 |
|
|
|
0e7bc3 |
Introduced in 65324144b50b, the "proxy_arp_vlan" sysctl is a
|
|
|
0e7bc3 |
per-interface sysctl to tune proxy ARP support for private VLANs.
|
|
|
0e7bc3 |
While the "all" variant is exposed, it was a noop and never evaluated.
|
|
|
0e7bc3 |
We use the usual "or" logic for this kind of sysctls.
|
|
|
0e7bc3 |
|
|
|
0e7bc3 |
Fixes: 65324144b50b ("net: RFC3069, private VLAN proxy arp support")
|
|
|
0e7bc3 |
Signed-off-by: Vincent Bernat <vincent@bernat.ch>
|
|
|
0e7bc3 |
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
|
|
0e7bc3 |
Signed-off-by: Denis Kirjanov <denis.kirjanov@suse.com>
|
|
|
0e7bc3 |
---
|
|
|
0e7bc3 |
include/linux/inetdevice.h | 2 +-
|
|
|
0e7bc3 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
0e7bc3 |
|
|
|
0e7bc3 |
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h
|
|
|
0e7bc3 |
index 3bbcddd22df8..53aa0343bf69 100644
|
|
|
0e7bc3 |
--- a/include/linux/inetdevice.h
|
|
|
0e7bc3 |
+++ b/include/linux/inetdevice.h
|
|
|
0e7bc3 |
@@ -105,7 +105,7 @@ static inline void ipv4_devconf_setall(struct in_device *in_dev)
|
|
|
0e7bc3 |
|
|
|
0e7bc3 |
#define IN_DEV_LOG_MARTIANS(in_dev) IN_DEV_ORCONF((in_dev), LOG_MARTIANS)
|
|
|
0e7bc3 |
#define IN_DEV_PROXY_ARP(in_dev) IN_DEV_ORCONF((in_dev), PROXY_ARP)
|
|
|
0e7bc3 |
-#define IN_DEV_PROXY_ARP_PVLAN(in_dev) IN_DEV_CONF_GET(in_dev, PROXY_ARP_PVLAN)
|
|
|
0e7bc3 |
+#define IN_DEV_PROXY_ARP_PVLAN(in_dev) IN_DEV_ORCONF((in_dev), PROXY_ARP_PVLAN)
|
|
|
0e7bc3 |
#define IN_DEV_SHARED_MEDIA(in_dev) IN_DEV_ORCONF((in_dev), SHARED_MEDIA)
|
|
|
0e7bc3 |
#define IN_DEV_TX_REDIRECTS(in_dev) IN_DEV_ORCONF((in_dev), SEND_REDIRECTS)
|
|
|
0e7bc3 |
#define IN_DEV_SEC_REDIRECTS(in_dev) IN_DEV_ORCONF((in_dev), \
|
|
|
0e7bc3 |
--
|
|
|
0e7bc3 |
2.16.4
|
|
|
0e7bc3 |
|