diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c
index 8d17dd3542dfbf906bca15631fde56bb6254b101..1fcb23d33518d1e2620990ce440babbb378bc625 100644
--- a/net/ipv4/raw.c
+++ b/net/ipv4/raw.c
@@ -384,7 +384,7 @@ static int raw_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
 	int err;
 
 	err = -EMSGSIZE;
-	if (len < 0 || len > 0xFFFF)
+	if (len > 0xFFFF)
 		goto out;
 
 	/*