now, so there is no need to calculate them before sending them to
userspace.
ok henning@
-/* $OpenBSD: ip_divert.c,v 1.24 2014/07/12 03:27:00 lteo Exp $ */
+/* $OpenBSD: ip_divert.c,v 1.25 2014/07/12 19:04:29 lteo Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
break;
}
}
- /* force checksum calculation */
- if (dir == PF_OUT)
- in_proto_cksum_out(m, NULL);
if (inp) {
sa = inp->inp_socket;
-/* $OpenBSD: ip6_divert.c,v 1.25 2014/07/12 03:27:00 lteo Exp $ */
+/* $OpenBSD: ip6_divert.c,v 1.26 2014/07/12 19:04:29 lteo Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
break;
}
}
- /* force checksum calculation */
- if (dir == PF_OUT)
- in6_proto_cksum_out(m, NULL);
if (inp) {
sa = inp->inp_socket;