Skip to contentSkip to conversation

IPv4: Fix a typo in tcp_v4_do_calc_md5_hash() which prevents compilation

PATCH Applied Paul Moore 2 participants 2 messages Dec 21, 2007

Subsystems (3)
lore
Share & tools
lore

Paul Moore

author
#0 lore raw

PATCH 1/1 IPv4: Fix a typo in tcp_v4_do_calc_md5_hash() which prevents compilation

It's spelled "unsigned".

---

 net/ipv4/tcp_ipv4.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/ipv4/tcp_ipv4.c +1 -1
index 9cb92b8..9aea88b 100644
@@ -1020,7 +1020,7 @@ static int tcp_v4_parse_md5_keys(struct sock *sk, char __user *optval,
 static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
 				   __be32 saddr, __be32 daddr,
 				   struct tcphdr *th, int protocol,
-				   unsinged int tcplen)
+				   unsigned int tcplen)
 {
 	struct scatterlist sg[4];
 	__u16 data_len;