Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5be99560 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

selftests/txtimestamp: Fix an equals vs assign bug



This should be == instead of =.

Fixes: b52354aa ("selftests: expand txtimestamp with ipv6 dgram + raw and pf_packet")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Acked-by: default avatarWillem de Bruijn <willemb@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f97f4dd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -240,7 +240,7 @@ static void __recv_errmsg_cmsg(struct msghdr *msg, int payload_len)
			    cm->cmsg_type == IP_RECVERR) ||
			    cm->cmsg_type == IP_RECVERR) ||
			   (cm->cmsg_level == SOL_IPV6 &&
			   (cm->cmsg_level == SOL_IPV6 &&
			    cm->cmsg_type == IPV6_RECVERR) ||
			    cm->cmsg_type == IPV6_RECVERR) ||
			   (cm->cmsg_level = SOL_PACKET &&
			   (cm->cmsg_level == SOL_PACKET &&
			    cm->cmsg_type == PACKET_TX_TIMESTAMP)) {
			    cm->cmsg_type == PACKET_TX_TIMESTAMP)) {
			serr = (void *) CMSG_DATA(cm);
			serr = (void *) CMSG_DATA(cm);
			if (serr->ee_errno != ENOMSG ||
			if (serr->ee_errno != ENOMSG ||