|
@@ -99,7 +99,7 @@ static struct tcp_md5sig_key *tcp_v4_md5_do_lookup(struct sock *sk,
|
|
static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
|
|
static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
|
|
__be32 saddr, __be32 daddr,
|
|
__be32 saddr, __be32 daddr,
|
|
struct tcphdr *th, int protocol,
|
|
struct tcphdr *th, int protocol,
|
|
- int tcplen);
|
|
|
|
|
|
+ unsigned int tcplen);
|
|
#endif
|
|
#endif
|
|
|
|
|
|
struct inet_hashinfo __cacheline_aligned tcp_hashinfo = {
|
|
struct inet_hashinfo __cacheline_aligned tcp_hashinfo = {
|
|
@@ -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,
|
|
static int tcp_v4_do_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
|
|
__be32 saddr, __be32 daddr,
|
|
__be32 saddr, __be32 daddr,
|
|
struct tcphdr *th, int protocol,
|
|
struct tcphdr *th, int protocol,
|
|
- int tcplen)
|
|
|
|
|
|
+ unsigned int tcplen)
|
|
{
|
|
{
|
|
struct scatterlist sg[4];
|
|
struct scatterlist sg[4];
|
|
__u16 data_len;
|
|
__u16 data_len;
|
|
@@ -1113,7 +1113,7 @@ int tcp_v4_calc_md5_hash(char *md5_hash, struct tcp_md5sig_key *key,
|
|
struct dst_entry *dst,
|
|
struct dst_entry *dst,
|
|
struct request_sock *req,
|
|
struct request_sock *req,
|
|
struct tcphdr *th, int protocol,
|
|
struct tcphdr *th, int protocol,
|
|
- int tcplen)
|
|
|
|
|
|
+ unsigned int tcplen)
|
|
{
|
|
{
|
|
__be32 saddr, daddr;
|
|
__be32 saddr, daddr;
|
|
|
|
|