diff options
Diffstat (limited to 'patches/boot_time_opt/0117-migrate-some-systemd-defaults-to-the-kernel-defaults.patch')
-rw-r--r-- | patches/boot_time_opt/0117-migrate-some-systemd-defaults-to-the-kernel-defaults.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0117-migrate-some-systemd-defaults-to-the-kernel-defaults.patch b/patches/boot_time_opt/0117-migrate-some-systemd-defaults-to-the-kernel-defaults.patch new file mode 100644 index 0000000..8464bbb --- /dev/null +++ b/patches/boot_time_opt/0117-migrate-some-systemd-defaults-to-the-kernel-defaults.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
2 | From: Auke Kok <auke-jan.h.kok@intel.com> | ||
3 | Date: Thu, 2 Aug 2018 12:03:22 -0700 | ||
4 | Subject: [PATCH] migrate some systemd defaults to the kernel defaults. | ||
5 | |||
6 | These settings are needed to prevent networking issues when | ||
7 | the networking modules come up by default without explicit | ||
8 | settings, which breaks some cases. | ||
9 | |||
10 | We don't want the modprobe settings to be read at boot time | ||
11 | if we're not going to do anything else ever. | ||
12 | --- | ||
13 | drivers/net/dummy.c | 2 +- | ||
14 | include/uapi/linux/if_bonding.h | 2 +- | ||
15 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c | ||
18 | index bab3a9bb5e6f..dcd8a33c4a33 100644 | ||
19 | --- a/drivers/net/dummy.c | ||
20 | +++ b/drivers/net/dummy.c | ||
21 | @@ -43,7 +43,7 @@ | ||
22 | |||
23 | #define DRV_NAME "dummy" | ||
24 | |||
25 | -static int numdummies = 1; | ||
26 | +static int numdummies = 0; | ||
27 | |||
28 | /* fake multicast ability */ | ||
29 | static void set_multicast_list(struct net_device *dev) | ||
30 | diff --git a/include/uapi/linux/if_bonding.h b/include/uapi/linux/if_bonding.h | ||
31 | index 45f3750aa861..317f8326ddd7 100644 | ||
32 | --- a/include/uapi/linux/if_bonding.h | ||
33 | +++ b/include/uapi/linux/if_bonding.h | ||
34 | @@ -82,7 +82,7 @@ | ||
35 | #define BOND_STATE_ACTIVE 0 /* link is active */ | ||
36 | #define BOND_STATE_BACKUP 1 /* link is backup */ | ||
37 | |||
38 | -#define BOND_DEFAULT_MAX_BONDS 1 /* Default maximum number of devices to support */ | ||
39 | +#define BOND_DEFAULT_MAX_BONDS 0 /* Default maximum number of devices to support */ | ||
40 | |||
41 | #define BOND_DEFAULT_TX_QUEUES 16 /* Default number of tx queues per device */ | ||
42 | |||
43 | -- | ||
44 | https://clearlinux.org | ||
45 | |||