diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-04-15 01:58:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-15 12:44:40 -0400 |
commit | 95c961747284a6b83a5e2d81240e214b0fa3464d (patch) | |
tree | c7be86a00db3605a48a03109fafcbe31039ca2e0 /net/dccp/input.c | |
parent | 5e73ea1a31c3612aa6dfe44f864ca5b7b6a4cff9 (diff) |
net: cleanup unsigned to unsigned int
Use of "unsigned int" is preferred to bare "unsigned" in net tree.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/input.c')
-rw-r--r-- | net/dccp/input.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c index 51d5fe5fffb..bc93a333931 100644 --- a/net/dccp/input.c +++ b/net/dccp/input.c | |||
@@ -285,7 +285,7 @@ static int dccp_check_seqno(struct sock *sk, struct sk_buff *skb) | |||
285 | } | 285 | } |
286 | 286 | ||
287 | static int __dccp_rcv_established(struct sock *sk, struct sk_buff *skb, | 287 | static int __dccp_rcv_established(struct sock *sk, struct sk_buff *skb, |
288 | const struct dccp_hdr *dh, const unsigned len) | 288 | const struct dccp_hdr *dh, const unsigned int len) |
289 | { | 289 | { |
290 | struct dccp_sock *dp = dccp_sk(sk); | 290 | struct dccp_sock *dp = dccp_sk(sk); |
291 | 291 | ||
@@ -366,7 +366,7 @@ discard: | |||
366 | } | 366 | } |
367 | 367 | ||
368 | int dccp_rcv_established(struct sock *sk, struct sk_buff *skb, | 368 | int dccp_rcv_established(struct sock *sk, struct sk_buff *skb, |
369 | const struct dccp_hdr *dh, const unsigned len) | 369 | const struct dccp_hdr *dh, const unsigned int len) |
370 | { | 370 | { |
371 | if (dccp_check_seqno(sk, skb)) | 371 | if (dccp_check_seqno(sk, skb)) |
372 | goto discard; | 372 | goto discard; |
@@ -388,7 +388,7 @@ EXPORT_SYMBOL_GPL(dccp_rcv_established); | |||
388 | static int dccp_rcv_request_sent_state_process(struct sock *sk, | 388 | static int dccp_rcv_request_sent_state_process(struct sock *sk, |
389 | struct sk_buff *skb, | 389 | struct sk_buff *skb, |
390 | const struct dccp_hdr *dh, | 390 | const struct dccp_hdr *dh, |
391 | const unsigned len) | 391 | const unsigned int len) |
392 | { | 392 | { |
393 | /* | 393 | /* |
394 | * Step 4: Prepare sequence numbers in REQUEST | 394 | * Step 4: Prepare sequence numbers in REQUEST |
@@ -521,7 +521,7 @@ unable_to_proceed: | |||
521 | static int dccp_rcv_respond_partopen_state_process(struct sock *sk, | 521 | static int dccp_rcv_respond_partopen_state_process(struct sock *sk, |
522 | struct sk_buff *skb, | 522 | struct sk_buff *skb, |
523 | const struct dccp_hdr *dh, | 523 | const struct dccp_hdr *dh, |
524 | const unsigned len) | 524 | const unsigned int len) |
525 | { | 525 | { |
526 | struct dccp_sock *dp = dccp_sk(sk); | 526 | struct dccp_sock *dp = dccp_sk(sk); |
527 | u32 sample = dp->dccps_options_received.dccpor_timestamp_echo; | 527 | u32 sample = dp->dccps_options_received.dccpor_timestamp_echo; |
@@ -572,7 +572,7 @@ static int dccp_rcv_respond_partopen_state_process(struct sock *sk, | |||
572 | } | 572 | } |
573 | 573 | ||
574 | int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, | 574 | int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, |
575 | struct dccp_hdr *dh, unsigned len) | 575 | struct dccp_hdr *dh, unsigned int len) |
576 | { | 576 | { |
577 | struct dccp_sock *dp = dccp_sk(sk); | 577 | struct dccp_sock *dp = dccp_sk(sk); |
578 | struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); | 578 | struct dccp_skb_cb *dcb = DCCP_SKB_CB(skb); |