slip.c (f81ee8b8b8421dc06d13f197bb53191559cc51da) slip.c (357a6a875f1c4772f2102639bf19619780889f31)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * slip.c This module implements the SLIP protocol for kernel-based
4 * devices like TTY. It interfaces between a raw TTY, and the
5 * kernel's INET protocol layers.
6 *
7 * Version: @(#)slip.c 0.8.3 12/24/94
8 *

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

1355 }
1356
1357 unregister_netdev(dev);
1358 }
1359
1360 kfree(slip_devs);
1361 slip_devs = NULL;
1362
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * slip.c This module implements the SLIP protocol for kernel-based
4 * devices like TTY. It interfaces between a raw TTY, and the
5 * kernel's INET protocol layers.
6 *
7 * Version: @(#)slip.c 0.8.3 12/24/94
8 *

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

1355 }
1356
1357 unregister_netdev(dev);
1358 }
1359
1360 kfree(slip_devs);
1361 slip_devs = NULL;
1362
1363 i = tty_unregister_ldisc(&sl_ldisc);
1364 if (i != 0)
1365 printk(KERN_ERR "SLIP: can't unregister line discipline (err = %d)\n", i);
1363 tty_unregister_ldisc(&sl_ldisc);
1366}
1367
1368module_init(slip_init);
1369module_exit(slip_exit);
1370
1371#ifdef CONFIG_SLIP_SMART
1372/*
1373 * This is start of the code for multislip style line checking

--- 66 unchanged lines hidden ---
1364}
1365
1366module_init(slip_init);
1367module_exit(slip_exit);
1368
1369#ifdef CONFIG_SLIP_SMART
1370/*
1371 * This is start of the code for multislip style line checking

--- 66 unchanged lines hidden ---