aboutsummaryrefslogtreecommitdiffstats
path: root/net/x25/x25_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/x25/x25_out.c')
-rw-r--r--net/x25/x25_out.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/x25/x25_out.c b/net/x25/x25_out.c
index a2e62cea819a..6f5737853912 100644
--- a/net/x25/x25_out.c
+++ b/net/x25/x25_out.c
@@ -3,7 +3,7 @@
3 * 3 *
4 * This is ALPHA test software. This code may break your machine, 4 * This is ALPHA test software. This code may break your machine,
5 * randomly fail to work with new releases, misbehave and/or generally 5 * randomly fail to work with new releases, misbehave and/or generally
6 * screw up. It might even work. 6 * screw up. It might even work.
7 * 7 *
8 * This code REQUIRES 2.1.15 or higher 8 * This code REQUIRES 2.1.15 or higher
9 * 9 *
@@ -78,7 +78,7 @@ int x25_output(struct sock *sk, struct sk_buff *skb)
78 "sent\n", err, sent); 78 "sent\n", err, sent);
79 return err; 79 return err;
80 } 80 }
81 81
82 skb_reserve(skbn, frontlen); 82 skb_reserve(skbn, frontlen);
83 83
84 len = max_len > skb->len ? skb->len : max_len; 84 len = max_len > skb->len ? skb->len : max_len;
@@ -101,7 +101,7 @@ int x25_output(struct sock *sk, struct sk_buff *skb)
101 skb_queue_tail(&sk->sk_write_queue, skbn); 101 skb_queue_tail(&sk->sk_write_queue, skbn);
102 sent += len; 102 sent += len;
103 } 103 }
104 104
105 kfree_skb(skb); 105 kfree_skb(skb);
106 } else { 106 } else {
107 skb_queue_tail(&sk->sk_write_queue, skb); 107 skb_queue_tail(&sk->sk_write_queue, skb);
@@ -110,7 +110,7 @@ int x25_output(struct sock *sk, struct sk_buff *skb)
110 return sent; 110 return sent;
111} 111}
112 112
113/* 113/*
114 * This procedure is passed a buffer descriptor for an iframe. It builds 114 * This procedure is passed a buffer descriptor for an iframe. It builds
115 * the rest of the control part of the frame and then writes it out. 115 * the rest of the control part of the frame and then writes it out.
116 */ 116 */
@@ -131,7 +131,7 @@ static void x25_send_iframe(struct sock *sk, struct sk_buff *skb)
131 skb->data[2] |= (x25->vr << 5) & 0xE0; 131 skb->data[2] |= (x25->vr << 5) & 0xE0;
132 } 132 }
133 133
134 x25_transmit_link(skb, x25->neighbour); 134 x25_transmit_link(skb, x25->neighbour);
135} 135}
136 136
137void x25_kick(struct sock *sk) 137void x25_kick(struct sock *sk)