|
|
2804ca |
From 1ce88613e6438f0ab9f50b826929f02408eb8f50 Mon Sep 17 00:00:00 2001
|
|
|
2804ca |
From: Beniamino Galvani <bgalvani@redhat.com>
|
|
|
2804ca |
Date: Wed, 4 Jul 2018 08:22:12 +0200
|
|
|
2804ca |
Subject: [PATCH] device: disable rp_filter handling
|
|
|
2804ca |
|
|
|
2804ca |
Don't change rp_filter in any way, like in previous RHEL 7 releases.
|
|
|
2804ca |
See also https://bugzilla.redhat.com/show_bug.cgi?id=1492472.
|
|
|
2804ca |
|
|
|
2804ca |
https://bugzilla.redhat.com/show_bug.cgi?id=1593194
|
|
|
2804ca |
---
|
|
|
2804ca |
src/devices/nm-device.c | 4 ++--
|
|
|
2804ca |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
2804ca |
|
|
|
2804ca |
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
|
|
|
2804ca |
index 613e87034..ac9e1da08 100644
|
|
|
2804ca |
--- a/src/devices/nm-device.c
|
|
|
2804ca |
+++ b/src/devices/nm-device.c
|
|
|
2804ca |
@@ -11440,7 +11440,7 @@ nm_device_set_ip_config (NMDevice *self,
|
|
|
2804ca |
priv->needs_ip6_subnet = FALSE;
|
|
|
2804ca |
}
|
|
|
2804ca |
|
|
|
2804ca |
- if (IS_IPv4) {
|
|
|
2804ca |
+ if (IS_IPv4 && FALSE /* disabled on RHEL */) {
|
|
|
2804ca |
if (!nm_device_sys_iface_state_is_external_or_assume (self))
|
|
|
2804ca |
ip4_rp_filter_update (self);
|
|
|
2804ca |
}
|
|
|
2804ca |
@@ -12329,7 +12329,7 @@ queued_ip_config_change (NMDevice *self, int addr_family)
|
|
|
2804ca |
|
|
|
2804ca |
set_unmanaged_external_down (self, TRUE);
|
|
|
2804ca |
|
|
|
2804ca |
- if (IS_IPv4) {
|
|
|
2804ca |
+ if (IS_IPv4 && FALSE /* disabled on RHEL */) {
|
|
|
2804ca |
if (!nm_device_sys_iface_state_is_external_or_assume (self)) {
|
|
|
2804ca |
priv->v4_has_shadowed_routes = _v4_has_shadowed_routes_detect (self);;
|
|
|
2804ca |
ip4_rp_filter_update (self);
|
|
|
2804ca |
--
|
|
|
2804ca |
2.17.0
|
|
|
2804ca |
|