lec.c (4c13eb6657fe9ef7b4dc8f1a405c902e9e5234e0) lec.c (27a884dc3cb63b93c2b3b643f5b31eed5f8a4d26)
1/*
2 * lec.c: Lan Emulation driver
3 *
4 * Marko Kiiskila <mkiiskila@yahoo.com>
5 */
6
7#include <linux/kernel.h>
8#include <linux/bitops.h>

--- 269 unchanged lines hidden (view full) ---

278 if (!priv->lecd) {
279 printk("%s:No lecd attached\n", dev->name);
280 priv->stats.tx_errors++;
281 netif_stop_queue(dev);
282 return -EUNATCH;
283 }
284
285 DPRINTK("skbuff head:%lx data:%lx tail:%lx end:%lx\n",
1/*
2 * lec.c: Lan Emulation driver
3 *
4 * Marko Kiiskila <mkiiskila@yahoo.com>
5 */
6
7#include <linux/kernel.h>
8#include <linux/bitops.h>

--- 269 unchanged lines hidden (view full) ---

278 if (!priv->lecd) {
279 printk("%s:No lecd attached\n", dev->name);
280 priv->stats.tx_errors++;
281 netif_stop_queue(dev);
282 return -EUNATCH;
283 }
284
285 DPRINTK("skbuff head:%lx data:%lx tail:%lx end:%lx\n",
286 (long)skb->head, (long)skb->data, (long)skb->tail,
286 (long)skb->head, (long)skb->data, (long)skb_tail_pointer(skb),
287 (long)skb->end);
288#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
289 if (memcmp(skb->data, bridge_ula_lec, sizeof(bridge_ula_lec)) == 0)
290 lec_handle_bridge(skb, dev);
291#endif
292
293 /* Make sure we have room for lec_id */
294 if (skb_headroom(skb) < 2) {

--- 2225 unchanged lines hidden ---
287 (long)skb->end);
288#if defined(CONFIG_BRIDGE) || defined(CONFIG_BRIDGE_MODULE)
289 if (memcmp(skb->data, bridge_ula_lec, sizeof(bridge_ula_lec)) == 0)
290 lec_handle_bridge(skb, dev);
291#endif
292
293 /* Make sure we have room for lec_id */
294 if (skb_headroom(skb) < 2) {

--- 2225 unchanged lines hidden ---