summaryrefslogtreecommitdiffstats
path: root/include/net/netrom.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2017-03-24 18:08:18 +0100
committerDavid S. Miller <davem@davemloft.net>2017-03-25 04:49:31 +0100
commit37056719bba500d0d2b8216fdf641e5507ec9a0e (patch)
treecb29ca52bc837c095ee470e8caf6410af54f9b03 /include/net/netrom.h
parentnet: Change return type of sk_busy_loop from bool to void (diff)
downloadlinux-37056719bba500d0d2b8216fdf641e5507ec9a0e.tar.xz
linux-37056719bba500d0d2b8216fdf641e5507ec9a0e.zip
net: Track start of busy loop instead of when it should end
This patch flips the logic we were using to determine if the busy polling has timed out. The main motivation for this is that we will need to support two different possible timeout values in the future and by recording the start time rather than when we would want to end we can focus on making the end_time specific to the task be it epoll or socket based polling. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netrom.h')
0 files changed, 0 insertions, 0 deletions