Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24957
b: refs/heads/master
c: 68907da
h: refs/heads/master
i:
  24955: bb736eb
v: v3
  • Loading branch information
Randy Dunlap authored and David S. Miller committed Mar 29, 2006
1 parent 023bcee commit 7ea0f56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6a57b2ee4506bb8a3d2f7ba2f62ff65ec56ba150
refs/heads/master: 68907dad58cd7ef11536e1db6baeb98b20af91b2
6 changes: 3 additions & 3 deletions trunk/net/dccp/feat.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ static int dccp_feat_reconcile(struct sock *sk, struct dccp_opt_pend *opt,
if (rc) {
kfree(opt->dccpop_sc->dccpoc_val);
kfree(opt->dccpop_sc);
opt->dccpop_sc = 0;
opt->dccpop_sc = NULL;
return rc;
}

Expand Down Expand Up @@ -322,7 +322,7 @@ static void dccp_feat_empty_confirm(struct dccp_minisock *dmsk,
opt->dccpop_type = type == DCCPO_CHANGE_L ? DCCPO_CONFIRM_R :
DCCPO_CONFIRM_L;
opt->dccpop_feat = feature;
opt->dccpop_val = 0;
opt->dccpop_val = NULL;
opt->dccpop_len = 0;

/* change feature */
Expand Down Expand Up @@ -523,7 +523,7 @@ int dccp_feat_clone(struct sock *oldsk, struct sock *newsk)
* once...
*/
/* the master socket no longer needs to worry about confirms */
opt->dccpop_sc = 0; /* it's not a memleak---new socket has it */
opt->dccpop_sc = NULL; /* it's not a memleak---new socket has it */

/* reset state for a new socket */
opt->dccpop_conf = 0;
Expand Down

0 comments on commit 7ea0f56

Please sign in to comment.