Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213797
b: refs/heads/master
c: bb8a10b
h: refs/heads/master
i:
  213795: 17137e4
v: v3
  • Loading branch information
Julia Lawall authored and David S. Miller committed Aug 17, 2010
1 parent dfa2d2c commit 2b81462
Show file tree
Hide file tree
Showing 2 changed files with 5 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: f7df0b8d924ad2f39852ea397d39a51fbb955212
refs/heads/master: bb8a10bbd10a45db0eb45bac520489bdbc0917ef
8 changes: 4 additions & 4 deletions trunk/net/decnet/dn_nsp_out.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,22 +693,22 @@ void dn_nsp_send_conninit(struct sock *sk, unsigned char msgflg)
aux = scp->accessdata.acc_userl;
*skb_put(skb, 1) = aux;
if (aux > 0)
memcpy(skb_put(skb, aux), scp->accessdata.acc_user, aux);
memcpy(skb_put(skb, aux), scp->accessdata.acc_user, aux);

aux = scp->accessdata.acc_passl;
*skb_put(skb, 1) = aux;
if (aux > 0)
memcpy(skb_put(skb, aux), scp->accessdata.acc_pass, aux);
memcpy(skb_put(skb, aux), scp->accessdata.acc_pass, aux);

aux = scp->accessdata.acc_accl;
*skb_put(skb, 1) = aux;
if (aux > 0)
memcpy(skb_put(skb, aux), scp->accessdata.acc_acc, aux);
memcpy(skb_put(skb, aux), scp->accessdata.acc_acc, aux);

aux = (__u8)le16_to_cpu(scp->conndata_out.opt_optl);
*skb_put(skb, 1) = aux;
if (aux > 0)
memcpy(skb_put(skb,aux), scp->conndata_out.opt_data, aux);
memcpy(skb_put(skb, aux), scp->conndata_out.opt_data, aux);

scp->persist = dn_nsp_persist(sk);
scp->persist_fxn = dn_nsp_retrans_conninit;
Expand Down

0 comments on commit 2b81462

Please sign in to comment.