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