Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6381
b: refs/heads/master
c: b1c9fe7
h: refs/heads/master
i:
  6379: b23cb1a
v: v3
  • Loading branch information
Ian McDonald authored and David S. Miller committed Aug 29, 2005
1 parent 366ddd6 commit 7536fe7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d179cd12928443f3ec29cfbc3567439644bd0afc
refs/heads/master: b1c9fe7b818acbd36dc908c5c1ad4cab34c67b39
5 changes: 1 addition & 4 deletions trunk/net/dccp/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,7 @@ static void dccp_insert_option_ndp(struct sock *sk, struct sk_buff *skb)

static inline int dccp_elapsed_time_len(const u32 elapsed_time)
{
return elapsed_time == 0 ? 0 :
elapsed_time <= 0xFF ? 1 :
elapsed_time <= 0xFFFF ? 2 :
elapsed_time <= 0xFFFFFF ? 3 : 4;
return elapsed_time == 0 ? 0 : elapsed_time <= 0xFFFF ? 2 : 4;
}

void dccp_insert_option_elapsed_time(struct sock *sk,
Expand Down

0 comments on commit 7536fe7

Please sign in to comment.