mirror of
https://github.com/dynup/kpatch
synced 2025-04-11 03:31:20 +00:00
Rebased against the RHEL-7.8 GA kernel-3.10.0-1127.el7. Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
23 lines
657 B
Diff
23 lines
657 B
Diff
diff -Nupr src.orig/net/ipv6/netfilter.c src/net/ipv6/netfilter.c
|
|
--- src.orig/net/ipv6/netfilter.c 2020-03-10 10:35:55.213562532 -0400
|
|
+++ src/net/ipv6/netfilter.c 2020-03-10 10:36:47.062455553 -0400
|
|
@@ -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)
|