Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222006
b: refs/heads/master
c: fe10ae5
h: refs/heads/master
v: v3
  • Loading branch information
Vasiliy Kulikov authored and David S. Miller committed Nov 10, 2010
1 parent 26e1cc9 commit 64c76c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 332dd96f7ac15e937088fe11f15cfe0210e8edd1
refs/heads/master: fe10ae53384e48c51996941b7720ee16995cbcb7
2 changes: 1 addition & 1 deletion trunk/net/ax25/af_ax25.c
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 +1392,7 @@ static int ax25_getname(struct socket *sock, struct sockaddr *uaddr,
ax25_cb *ax25;
int err = 0;

memset(fsa, 0, sizeof(fsa));
lock_sock(sk);
ax25 = ax25_sk(sk);

Expand All @@ -1403,7 +1404,6 @@ static int ax25_getname(struct socket *sock, struct sockaddr *uaddr,

fsa->fsa_ax25.sax25_family = AF_AX25;
fsa->fsa_ax25.sax25_call = ax25->dest_addr;
fsa->fsa_ax25.sax25_ndigis = 0;

if (ax25->digipeat != NULL) {
ndigi = ax25->digipeat->ndigi;
Expand Down

0 comments on commit 64c76c8

Please sign in to comment.