kpatch/test/integration/rhel-7.7/gcc-static-local-var-6.patch
Artem Savkov 0e0cee369a test/integration: add rhel-7.7 rebased patches
Added integration-test patches rebased against rhel-7.7 GA kernel. No
conflicts, some fuzz.

Signed-off-by: Artem Savkov <asavkov@redhat.com>
2019-08-12 14:36:16 +02:00

24 lines
628 B
Diff

Index: kernel/net/ipv6/netfilter.c
===================================================================
--- kernel.orig/net/ipv6/netfilter.c
+++ kernel/net/ipv6/netfilter.c
@@ -112,6 +112,8 @@ static int nf_ip6_reroute(struct sk_buff
return 0;
}
+#include "kpatch-macros.h"
+
static int nf_ip6_route(struct net *net, struct dst_entry **dst,
struct flowi *fl, bool strict)
{
@@ -125,6 +127,9 @@ static int nf_ip6_route(struct net *net,
struct dst_entry *result;
int err;
+ if (!jiffies)
+ printk("kpatch nf_ip6_route foo\n");
+
result = ip6_route_output(net, sk, &fl->u.ip6);
err = result->error;
if (err)