x25_link.c (5a84d159061d914c8dd4aa372ac6e9529c2be453) x25_link.c (b24b8a247ff65c01b252025926fe564209fae4fc)
1/*
2 * X.25 Packet Layer release 002
3 *
4 * This is ALPHA test software. This code may break your machine,
5 * randomly fail to work with new releases, misbehave and/or generally
6 * screw up. It might even work.
7 *
8 * This code REQUIRES 2.1.15 or higher

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

242void x25_link_device_up(struct net_device *dev)
243{
244 struct x25_neigh *nb = kmalloc(sizeof(*nb), GFP_ATOMIC);
245
246 if (!nb)
247 return;
248
249 skb_queue_head_init(&nb->queue);
1/*
2 * X.25 Packet Layer release 002
3 *
4 * This is ALPHA test software. This code may break your machine,
5 * randomly fail to work with new releases, misbehave and/or generally
6 * screw up. It might even work.
7 *
8 * This code REQUIRES 2.1.15 or higher

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

242void x25_link_device_up(struct net_device *dev)
243{
244 struct x25_neigh *nb = kmalloc(sizeof(*nb), GFP_ATOMIC);
245
246 if (!nb)
247 return;
248
249 skb_queue_head_init(&nb->queue);
250 setup_timer(&nb->t20timer, x25_t20timer_expiry, (unsigned long)nb);
250
251
251 init_timer(&nb->t20timer);
252 nb->t20timer.data = (unsigned long)nb;
253 nb->t20timer.function = &x25_t20timer_expiry;
254
255 dev_hold(dev);
256 nb->dev = dev;
257 nb->state = X25_LINK_STATE_0;
258 nb->extended = 0;
259 /*
260 * Enables negotiation
261 */
262 nb->global_facil_mask = X25_MASK_REVERSE |

--- 139 unchanged lines hidden ---
252 dev_hold(dev);
253 nb->dev = dev;
254 nb->state = X25_LINK_STATE_0;
255 nb->extended = 0;
256 /*
257 * Enables negotiation
258 */
259 nb->global_facil_mask = X25_MASK_REVERSE |

--- 139 unchanged lines hidden ---