Gitweb:
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c9eaf17341834de00351bf79f16b2d879c8aea96
Commit: c9eaf17341834de00351bf79f16b2d879c8aea96
Parent: 4ec93edb14fe5fdee9fae6335f2cbba204627eac
Author: YOSHIFUJI Hideaki [EMAIL PROTECTED]
AuthorDate: Fri Feb 9 23:24:38 2007 +0900
Committer: David S. Miller [EMAIL PROTECTED]
CommitDate: Sat Feb 10 23:19:27 2007 -0800
[NET] DCCP: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki [EMAIL PROTECTED]
Signed-off-by: David S. Miller [EMAIL PROTECTED]
---
net/dccp/ccids/ccid2.c | 68 +-
net/dccp/ccids/ccid3.c | 14
net/dccp/ccids/lib/packet_history.h |4 +-
net/dccp/ccids/lib/tfrc_equation.c | 18 +-
net/dccp/dccp.h |8 ++--
net/dccp/feat.c |8 ++--
net/dccp/feat.h |2 +-
net/dccp/input.c| 14
net/dccp/ipv4.c |6 ++--
net/dccp/ipv6.c |2 +-
net/dccp/options.c |4 +-
net/dccp/output.c |4 +-
net/dccp/proto.c|2 +-
net/dccp/timer.c|2 +-
14 files changed, 78 insertions(+), 78 deletions(-)
diff --git a/net/dccp/ccids/ccid2.c b/net/dccp/ccids/ccid2.c
index fd38b05..248d20f 100644
--- a/net/dccp/ccids/ccid2.c
+++ b/net/dccp/ccids/ccid2.c
@@ -139,7 +139,7 @@ static int ccid2_hc_tx_send_packet(struct sock *sk, struct
sk_buff *skb)
return 0;
}
-hctx = ccid2_hc_tx_sk(sk);
+ hctx = ccid2_hc_tx_sk(sk);
ccid2_pr_debug(pipe=%d cwnd=%d\n, hctx-ccid2hctx_pipe,
hctx-ccid2hctx_cwnd);
@@ -368,13 +368,13 @@ static void ccid2_hc_tx_packet_sent(struct sock *sk, int
more, unsigned int len)
static int ccid2_ackvector(struct sock *sk, struct sk_buff *skb, int offset,
unsigned char **vec, unsigned char *veclen)
{
-const struct dccp_hdr *dh = dccp_hdr(skb);
-unsigned char *options = (unsigned char *)dh + dccp_hdr_len(skb);
-unsigned char *opt_ptr;
-const unsigned char *opt_end = (unsigned char *)dh +
-(dh-dccph_doff * 4);
-unsigned char opt, len;
-unsigned char *value;
+ const struct dccp_hdr *dh = dccp_hdr(skb);
+ unsigned char *options = (unsigned char *)dh + dccp_hdr_len(skb);
+ unsigned char *opt_ptr;
+ const unsigned char *opt_end = (unsigned char *)dh +
+ (dh-dccph_doff * 4);
+ unsigned char opt, len;
+ unsigned char *value;
BUG_ON(offset 0);
options += offset;
@@ -383,29 +383,29 @@ static int ccid2_ackvector(struct sock *sk, struct
sk_buff *skb, int offset,
return -1;
while (opt_ptr != opt_end) {
-opt = *opt_ptr++;
-len = 0;
-value = NULL;
-
-/* Check if this isn't a single byte option */
-if (opt DCCPO_MAX_RESERVED) {
-if (opt_ptr == opt_end)
-goto out_invalid_option;
-
-len = *opt_ptr++;
-if (len 3)
-goto out_invalid_option;
-/*
- * Remove the type and len fields, leaving
- * just the value size
- */
-len -= 2;
-value = opt_ptr;
-opt_ptr += len;
-
-if (opt_ptr opt_end)
-goto out_invalid_option;
-}
+ opt = *opt_ptr++;
+ len = 0;
+ value = NULL;
+
+ /* Check if this isn't a single byte option */
+ if (opt DCCPO_MAX_RESERVED) {
+ if (opt_ptr == opt_end)
+ goto out_invalid_option;
+
+ len = *opt_ptr++;
+ if (len 3)
+ goto out_invalid_option;
+ /*
+* Remove the type and len fields, leaving
+* just the value size
+*/
+ len -= 2;
+ value = opt_ptr;
+ opt_ptr += len;
+
+ if (opt_ptr opt_end)
+ goto out_invalid_option;
+ }
switch (opt) {
case DCCPO_ACK_VECTOR_0:
@@ -432,7 +432,7 @@ static void ccid2_hc_tx_kill_rto_timer(struct sock *sk)
}
static inline void ccid2_new_ack(struct sock *sk,
-struct ccid2_seq *seqp