Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 8696
b: refs/heads/master
c: 59c2353
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and David S. Miller committed Sep 12, 2005
1 parent 2d95e9a commit 68ef3b7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 121caf577dc61588c1128821873a08cec48baf58
refs/heads/master: 59c2353dd045509626d7cc1953cb2d6b7358ab7a
8 changes: 8 additions & 0 deletions trunk/net/dccp/ccids/ccid3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,10 @@ static void ccid3_hc_rx_get_info(struct sock *sk, struct tcp_info *info)
{
const struct ccid3_hc_rx_sock *hcrx = ccid3_hc_rx_sk(sk);

/* Listen socks doesn't have a private CCID block */
if (sk->sk_state == DCCP_LISTEN)
return;

BUG_ON(hcrx == NULL);

info->tcpi_ca_state = hcrx->ccid3hcrx_state;
Expand All @@ -1106,6 +1110,10 @@ static void ccid3_hc_tx_get_info(struct sock *sk, struct tcp_info *info)
{
const struct ccid3_hc_tx_sock *hctx = ccid3_hc_tx_sk(sk);

/* Listen socks doesn't have a private CCID block */
if (sk->sk_state == DCCP_LISTEN)
return;

BUG_ON(hctx == NULL);

info->tcpi_rto = hctx->ccid3hctx_t_rto;
Expand Down

0 comments on commit 68ef3b7

Please sign in to comment.