Re: [PATCH] Remove inactivity timeout for wired interfaces

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

 



On Mon, Oct 17, 2016 at 06:02:16PM -0400, Sam Tannous wrote:
> We should unconditionally remove inactivity timers for wired network cases.
> This patch checks for this after a new station association:
> 
>    hapd->iface->drv_flags & WPA_DRIVER_FLAGS_WIRED
> 
> and then cancels the timeout and does not register a new one.
> 
> It prints out a debug message "cancel wired" like this:
> 
> 1476740180.276286: IEEE 802.1X: 00:02:00:00:00:07 CTRL_DIR entering
> state FORCE_BOTH
> 1476740180.276295: hostapd_new_assoc_sta: cancel wired ap_handle_timer
> timeout for 00:02:00:00:00:07 (120 seconds - ap_max_inactivity)
> 
> This was tested on a debian jessie amd64 system with a configured 120 second
> inactivity timer and the session did not timeout.

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux