summaryrefslogtreecommitdiffstats
path: root/kernel/net/ipv6/exthdrs_offload.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/ipv6/exthdrs_offload.c')
-rw-r--r--kernel/net/ipv6/exthdrs_offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/ipv6/exthdrs_offload.c b/kernel/net/ipv6/exthdrs_offload.c
index 447a7fbd1..f5e2ba1c1 100644
--- a/kernel/net/ipv6/exthdrs_offload.c
+++ b/kernel/net/ipv6/exthdrs_offload.c
@@ -36,6 +36,6 @@ out:
return ret;
out_rt:
- inet_del_offload(&rthdr_offload, IPPROTO_ROUTING);
+ inet6_del_offload(&rthdr_offload, IPPROTO_ROUTING);
goto out;
}