clatd: don't 'pretend' to disable IPV6_CHECKSUM am: 073e80cb39
Change-Id: I3c1bcf99e452abe4e9f9d895f78908ea92e87888
diff --git a/clatd.c b/clatd.c
index 82df63d..54fc2f7 100644
--- a/clatd.c
+++ b/clatd.c
@@ -237,10 +237,6 @@
exit(1);
}
- int off = 0;
- if (setsockopt(rawsock, SOL_IPV6, IPV6_CHECKSUM, &off, sizeof(off)) < 0) {
- logmsg(ANDROID_LOG_WARN, "could not disable checksum on raw socket: %s", strerror(errno));
- }
if (mark != MARK_UNSET && setsockopt(rawsock, SOL_SOCKET, SO_MARK, &mark, sizeof(mark)) < 0) {
logmsg(ANDROID_LOG_ERROR, "could not set mark on raw socket: %s", strerror(errno));
}