Blame test/integration/centos-7/gcc-static-local-var-6.patch
|
Packit Service |
ac8aad |
diff --git a/net/ipv6/netfilter.c b/net/ipv6/netfilter.c
|
|
Packit Service |
ac8aad |
index a9d587a..23336ed 100644
|
|
Packit Service |
ac8aad |
--- a/net/ipv6/netfilter.c
|
|
Packit Service |
ac8aad |
+++ b/net/ipv6/netfilter.c
|
|
Packit Service |
ac8aad |
@@ -106,6 +106,8 @@ static int nf_ip6_reroute(struct sk_buff *skb,
|
|
Packit Service |
ac8aad |
return 0;
|
|
Packit Service |
ac8aad |
}
|
|
Packit Service |
ac8aad |
|
|
Packit Service |
ac8aad |
+#include "kpatch-macros.h"
|
|
Packit Service |
ac8aad |
+
|
|
Packit Service |
ac8aad |
static int nf_ip6_route(struct net *net, struct dst_entry **dst,
|
|
Packit Service |
ac8aad |
struct flowi *fl, bool strict)
|
|
Packit Service |
ac8aad |
{
|
|
Packit Service |
ac8aad |
@@ -119,6 +121,9 @@ static int nf_ip6_route(struct net *net, struct dst_entry **dst,
|
|
Packit Service |
ac8aad |
struct dst_entry *result;
|
|
Packit Service |
ac8aad |
int err;
|
|
Packit Service |
ac8aad |
|
|
Packit Service |
ac8aad |
+ if (!jiffies)
|
|
Packit Service |
ac8aad |
+ printk("kpatch nf_ip6_route foo\n");
|
|
Packit Service |
ac8aad |
+
|
|
Packit Service |
ac8aad |
result = ip6_route_output(net, sk, &fl->u.ip6);
|
|
Packit Service |
ac8aad |
err = result->error;
|
|
Packit Service |
ac8aad |
if (err)
|