All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] netconfig: Actually use the DNS override values
@ 2021-09-03 20:06 Andrew Zaborowski
  2021-09-03 19:50 ` Denis Kenzior
  2021-09-03 20:06 ` [PATCH 2/2] station: Check ie_tlv_iter_next return value Andrew Zaborowski
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Zaborowski @ 2021-09-03 20:06 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

In netconfig_load_settings apply the DNS overrides strings we've loaded
instead of leaking them.

Fixes: ad228461abbf ("netconfig: Move loading settings to new method, refactor")
---
 src/netconfig.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/netconfig.c b/src/netconfig.c
index 9bbaece5..c748630b 100644
--- a/src/netconfig.c
+++ b/src/netconfig.c
@@ -1293,6 +1293,8 @@ bool netconfig_load_settings(struct netconfig *netconfig,
 							mac_address, ETH_ALEN);
 
 	netconfig->active_settings = active_settings;
+	netconfig->dns4_overrides = dns4_overrides;
+	netconfig->dns6_overrides = dns6_overrides;
 	return true;
 
 err_v6_addr:
-- 
2.30.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-03 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 20:06 [PATCH 1/2] netconfig: Actually use the DNS override values Andrew Zaborowski
2021-09-03 19:50 ` Denis Kenzior
2021-09-03 20:06 ` [PATCH 2/2] station: Check ie_tlv_iter_next return value Andrew Zaborowski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.