From: Yu Watanabe Date: Thu, 19 Aug 2021 23:44:27 +0000 (+0900) Subject: icmp6: drop unnecessary assertion X-Git-Tag: v250-rc1~796^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20488%2Fhead;p=thirdparty%2Fsystemd.git icmp6: drop unnecessary assertion Follow-up for 3691bcf3c5eebdcca5b4f1c51c745441c57a6cd1. --- diff --git a/src/libsystemd-network/icmp6-util.c b/src/libsystemd-network/icmp6-util.c index 67c6b55d841..0b8c3e4cc3d 100644 --- a/src/libsystemd-network/icmp6-util.c +++ b/src/libsystemd-network/icmp6-util.c @@ -186,7 +186,6 @@ int icmp6_receive(int fd, void *buffer, size_t size, struct in6_addr *ret_dst, /* namelen == 0 only happens when running the test-suite over a socketpair */ - assert(!(msg.msg_flags & MSG_CTRUNC)); assert(!(msg.msg_flags & MSG_TRUNC)); CMSG_FOREACH(cmsg, &msg) {