aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/llc_sap.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-02-09 09:25:01 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-11 02:19:53 -0500
commitd57b1869b231c56de441db35c647879d51c5d29e (patch)
tree1558799389190b330d87db2fc917a6d65f726d80 /net/llc/llc_sap.c
parent56d6c3d7a7963ee2a480232e5ef6a2f31635e80e (diff)
[NET] LLC: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/llc/llc_sap.c')
-rw-r--r--net/llc/llc_sap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/llc/llc_sap.c b/net/llc/llc_sap.c
index 61cb8cf7d153..2615dc81aa36 100644
--- a/net/llc/llc_sap.c
+++ b/net/llc/llc_sap.c
@@ -201,7 +201,7 @@ static void llc_sap_state_process(struct llc_sap *sap, struct sk_buff *skb)
201 if (sock_queue_rcv_skb(skb->sk, skb)) 201 if (sock_queue_rcv_skb(skb->sk, skb))
202 kfree_skb(skb); 202 kfree_skb(skb);
203 } 203 }
204 } 204 }
205 kfree_skb(skb); 205 kfree_skb(skb);
206} 206}
207 207
@@ -215,7 +215,7 @@ static void llc_sap_state_process(struct llc_sap *sap, struct sk_buff *skb)
215 * This function is called when upper layer wants to send a TEST pdu. 215 * This function is called when upper layer wants to send a TEST pdu.
216 * Returns 0 for success, 1 otherwise. 216 * Returns 0 for success, 1 otherwise.
217 */ 217 */
218void llc_build_and_send_test_pkt(struct llc_sap *sap, 218void llc_build_and_send_test_pkt(struct llc_sap *sap,
219 struct sk_buff *skb, u8 *dmac, u8 dsap) 219 struct sk_buff *skb, u8 *dmac, u8 dsap)
220{ 220{
221 struct llc_sap_state_ev *ev = llc_sap_ev(skb); 221 struct llc_sap_state_ev *ev = llc_sap_ev(skb);
@@ -224,7 +224,7 @@ void llc_build_and_send_test_pkt(struct llc_sap *sap,
224 ev->daddr.lsap = dsap; 224 ev->daddr.lsap = dsap;
225 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); 225 memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN);
226 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); 226 memcpy(ev->daddr.mac, dmac, IFHWADDRLEN);
227 227
228 ev->type = LLC_SAP_EV_TYPE_PRIM; 228 ev->type = LLC_SAP_EV_TYPE_PRIM;
229 ev->prim = LLC_TEST_PRIM; 229 ev->prim = LLC_TEST_PRIM;
230 ev->prim_type = LLC_PRIM_TYPE_REQ; 230 ev->prim_type = LLC_PRIM_TYPE_REQ;