Dave,
Please pull from
bk://linux-bt.bkbits.net/tun-2.5
This will update the following files:
drivers/net/tun.c | 99 ++++++++++++++++++++++++-------------------------
include/linux/if_tun.h | 8 +--
2 files changed, 53 insertions(+), 54 deletions(-)
through these ChangeSets:
<maxk@xxxxxxxxxxxx> (03/10/21 1.1348)
[TUN] TUN/TAP driver updates and fixes.
- Cleanup debug macros.
Replaced DBG() with TUN_DBG() to avoid conflicts.
- Autodetect IP version and set protocol accordingly.
- Use set_current_state() instead of accessing current->state directly.
- Optimized net device registration.
Do not call dev_get_by_name() unless name has '%' character in it.
This avoids extra scan of the net device list.
- Return error code returned by misc_register() (instead of EIO) in
case of failure.
Thanks
Max
http://bluez.sf.net
http://vacum.sf.net
http://vtun.sf.net
|