mirror of
https://github.com/dynup/kpatch
synced 2025-02-18 10:46:55 +00:00
Rebase the integration test cases on top of RHEL 8.0 kernel version 4.18.0-80.el8. Suggested-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com> [JT: adapt data-new-LOADED to new meminfo format, use common template for multiple.test] Signed-off-by: Julien Thierry <jthierry@redhat.com>
24 lines
623 B
Diff
24 lines
623 B
Diff
diff --git a/net/ipv6/netfilter.c b/net/ipv6/netfilter.c
|
|
index 531d695..a536c74 100644
|
|
--- a/net/ipv6/netfilter.c
|
|
+++ b/net/ipv6/netfilter.c
|
|
@@ -84,6 +84,8 @@ static int nf_ip6_reroute(struct sk_buff *skb,
|
|
return 0;
|
|
}
|
|
|
|
+#include "kpatch-macros.h"
|
|
+
|
|
static int nf_ip6_route(struct net *net, struct dst_entry **dst,
|
|
struct flowi *fl, bool strict)
|
|
{
|
|
@@ -97,6 +99,9 @@ static int nf_ip6_route(struct net *net, struct dst_entry **dst,
|
|
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)
|