[PATCH] Remove addresses from old tun device when stealing leases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nikos,

On FreeBSD (and probably OpenBSD), when a user resumes a session using
cookie (e.g. when quickly switching between Wi-Fi and 3G on a mobile
device), we must first remove addresses from the old tun device before
assigning them to the new tun device, otherwise the assignment may
fail with something like "main: tun.c:197: tun1: Error setting IPv6:
Address already in use". I have attached a patch to fix this issue.
This problem was reported to me by hshh <hunreal at gmail.com>.

I'm not sure if the same behaviour is required on Linux -- probably
not, since nobody has reported this problem so far.

Cheers,
Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-addresses-from-old-tun-device-when-stealing-l.patch
Type: application/octet-stream
Size: 2249 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20150414/d14126ed/attachment.obj>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux