diff options
Diffstat (limited to 'net/ax25/ax25_out.c')
| -rw-r--r-- | net/ax25/ax25_out.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ax25/ax25_out.c b/net/ax25/ax25_out.c index bf706f83a5c9..14912600ec57 100644 --- 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 | |||
| 92 | #endif | 92 | #endif |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | /* | ||
| 96 | * There is one ref for the state machine; a caller needs | ||
| 97 | * one more to put it back, just like with the existing one. | ||
| 98 | */ | ||
| 99 | ax25_cb_hold(ax25); | ||
| 100 | |||
| 95 | ax25_cb_add(ax25); | 101 | ax25_cb_add(ax25); |
| 96 | 102 | ||
| 97 | ax25->state = AX25_STATE_1; | 103 | ax25->state = AX25_STATE_1; |
