summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-22 11:13:13 +0000
committerChristian Breunig <christian@breunig.cc>2023-12-22 11:13:13 +0000
commite6701712e12189506e49be8c0e25c52a2b1325a1 (patch)
treeb18ded8fce35fc9706175941f0645a47f9105668
parent4e3fded1daa95cd0119af736ab15c79de494816d (diff)
downloadvyos-build-e6701712e12189506e49be8c0e25c52a2b1325a1.tar.gz
vyos-build-e6701712e12189506e49be8c0e25c52a2b1325a1.zip
Kernel: T4928: rebase patches ontop of Kernel 6.1.59 to get clean applies
-rw-r--r--packages/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch61
1 files changed, 31 insertions, 30 deletions
diff --git a/packages/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch b/packages/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch
index 38f611cf..436cb93b 100644
--- a/packages/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch
+++ b/packages/linux-kernel/patches/kernel/0001-linkstate-ip-device-attribute.patch
@@ -17,11 +17,11 @@ Backport of earlier Vyatta patch.
net/ipv6/route.c | 10 ++++++++++
8 files changed, 34 insertions(+)
-diff --git i/Documentation/networking/ip-sysctl.rst w/Documentation/networking/ip-sysctl.rst
-index f5f7a464605f..1639ff3aa843 100644
---- i/Documentation/networking/ip-sysctl.rst
-+++ w/Documentation/networking/ip-sysctl.rst
-@@ -1594,6 +1594,17 @@ src_valid_mark - BOOLEAN
+diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
+index b47b3d0ce559..a91044bd5afe 100644
+--- a/Documentation/networking/ip-sysctl.rst
++++ b/Documentation/networking/ip-sysctl.rst
+@@ -1609,6 +1609,17 @@ src_valid_mark - BOOLEAN
Default value is 0.
@@ -39,10 +39,10 @@ index f5f7a464605f..1639ff3aa843 100644
arp_filter - BOOLEAN
- 1 - Allows you to have multiple network interfaces on the same
subnet, and have the ARPs for each interface be answered
-diff --git i/include/linux/inetdevice.h w/include/linux/inetdevice.h
+diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h
index ddb27fc0ee8c..8ee3191d9558 100644
---- i/include/linux/inetdevice.h
-+++ w/include/linux/inetdevice.h
+--- a/include/linux/inetdevice.h
++++ b/include/linux/inetdevice.h
@@ -137,6 +137,7 @@ static inline void ipv4_devconf_setall(struct in_device *in_dev)
#define IN_DEV_ARP_NOTIFY(in_dev) IN_DEV_MAXCONF((in_dev), ARP_NOTIFY)
#define IN_DEV_ARP_EVICT_NOCARRIER(in_dev) IN_DEV_ANDCONF((in_dev), \
@@ -51,10 +51,10 @@ index ddb27fc0ee8c..8ee3191d9558 100644
struct in_ifaddr {
struct hlist_node hash;
-diff --git i/include/linux/ipv6.h w/include/linux/ipv6.h
+diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index 9a44de45cc1f..78f0896ae755 100644
---- i/include/linux/ipv6.h
-+++ w/include/linux/ipv6.h
+--- a/include/linux/ipv6.h
++++ b/include/linux/ipv6.h
@@ -84,6 +84,7 @@ struct ipv6_devconf {
__u8 ndisc_evict_nocarrier;
@@ -63,10 +63,10 @@ index 9a44de45cc1f..78f0896ae755 100644
};
struct ipv6_params {
-diff --git i/include/uapi/linux/ip.h w/include/uapi/linux/ip.h
+diff --git a/include/uapi/linux/ip.h b/include/uapi/linux/ip.h
index 283dec7e3645..8067941a635e 100644
---- i/include/uapi/linux/ip.h
-+++ w/include/uapi/linux/ip.h
+--- a/include/uapi/linux/ip.h
++++ b/include/uapi/linux/ip.h
@@ -173,6 +173,7 @@ enum
IPV4_DEVCONF_DROP_GRATUITOUS_ARP,
IPV4_DEVCONF_BC_FORWARDING,
@@ -75,10 +75,10 @@ index 283dec7e3645..8067941a635e 100644
__IPV4_DEVCONF_MAX
};
-diff --git i/include/uapi/linux/ipv6.h w/include/uapi/linux/ipv6.h
+diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h
index 4fa8511b1e35..5eefcb61018b 100644
---- i/include/uapi/linux/ipv6.h
-+++ w/include/uapi/linux/ipv6.h
+--- a/include/uapi/linux/ipv6.h
++++ b/include/uapi/linux/ipv6.h
@@ -199,6 +199,7 @@ enum {
DEVCONF_NDISC_EVICT_NOCARRIER,
DEVCONF_ACCEPT_UNTRACKED_NA,
@@ -87,10 +87,10 @@ index 4fa8511b1e35..5eefcb61018b 100644
DEVCONF_MAX
};
-diff --git i/net/ipv4/devinet.c w/net/ipv4/devinet.c
+diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index 35d6e74be840..e67cf474630c 100644
---- i/net/ipv4/devinet.c
-+++ w/net/ipv4/devinet.c
+--- a/net/ipv4/devinet.c
++++ b/net/ipv4/devinet.c
@@ -2561,6 +2561,7 @@ static struct devinet_sysctl_table {
"route_localnet"),
DEVINET_SYSCTL_FLUSHING_ENTRY(DROP_UNICAST_IN_L2_MULTICAST,
@@ -99,10 +99,10 @@ index 35d6e74be840..e67cf474630c 100644
},
};
-diff --git i/net/ipv6/addrconf.c w/net/ipv6/addrconf.c
-index c63ccd39fc55..df228a1e8ecf 100644
---- i/net/ipv6/addrconf.c
-+++ w/net/ipv6/addrconf.c
+diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
+index b8dc20fe7a4e..0d0aec97ba94 100644
+--- a/net/ipv6/addrconf.c
++++ b/net/ipv6/addrconf.c
@@ -5607,6 +5607,7 @@ static inline void ipv6_store_devconf(struct ipv6_devconf *cnf,
array[DEVCONF_NDISC_EVICT_NOCARRIER] = cnf->ndisc_evict_nocarrier;
array[DEVCONF_ACCEPT_UNTRACKED_NA] = cnf->accept_untracked_na;
@@ -111,7 +111,7 @@ index c63ccd39fc55..df228a1e8ecf 100644
}
static inline size_t inet6_ifla6_size(void)
-@@ -7039,6 +7040,13 @@ static const struct ctl_table addrconf_sysctl[] = {
+@@ -7035,6 +7036,13 @@ static const struct ctl_table addrconf_sysctl[] = {
.extra1 = (void *)SYSCTL_ZERO,
.extra2 = (void *)SYSCTL_ONE,
},
@@ -125,10 +125,10 @@ index c63ccd39fc55..df228a1e8ecf 100644
{
.procname = "ioam6_id",
.data = &ipv6_devconf.ioam6_id,
-diff --git i/net/ipv6/route.c w/net/ipv6/route.c
+diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 0bcdb675ba2c..dd770560d941 100644
---- i/net/ipv6/route.c
-+++ w/net/ipv6/route.c
+--- a/net/ipv6/route.c
++++ b/net/ipv6/route.c
@@ -678,6 +678,14 @@ static inline void rt6_probe(struct fib6_nh *fib6_nh)
}
#endif
@@ -153,5 +153,6 @@ index 0bcdb675ba2c..dd770560d941 100644
#ifdef CONFIG_IPV6_ROUTER_PREF
m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(fib6_flags)) << 2;
#endif
---
-2.30.2
+--
+2.39.2
+