git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ax25: netrom: rose: Fix timer oopses
[pandora-kernel.git]
/
net
/
ax25
/
ax25_out.c
diff --git
a/net/ax25/ax25_out.c
b/net/ax25/ax25_out.c
index
bf706f8
..
1491260
100644
(file)
--- a/
net/ax25/ax25_out.c
+++ b/
net/ax25/ax25_out.c
@@
-92,6
+92,12
@@
ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, ax25_address *src, ax2
#endif
}
+ /*
+ * There is one ref for the state machine; a caller needs
+ * one more to put it back, just like with the existing one.
+ */
+ ax25_cb_hold(ax25);
+
ax25_cb_add(ax25);
ax25->state = AX25_STATE_1;