Files
linux/net
Daniel Borkmann 6e94d1ef37 net: socket: move ktime2ts to ktime header api
Currently, ktime2ts is a small helper function that is only used in
net/socket.c. Move this helper into the ktime API as a small inline
function, so that i) it's maintained together with ktime routines,
and ii) also other files can make use of it. The function is named
ktime_to_timespec_cond() and placed into the generic part of ktime,
since we internally make use of ktime_to_timespec(). ktime_to_timespec()
itself does not check the ktime variable for zero, hence, we name
this function ktime_to_timespec_cond() for only a conditional
conversion, and adapt its users to it.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-19 16:39:13 -04:00
..
2013-04-07 17:04:17 -04:00
2013-04-19 14:46:06 -04:00
2013-03-17 14:35:13 -04:00
2013-03-28 01:20:42 -04:00
2013-03-08 00:35:44 -05:00
2013-04-17 14:18:33 -04:00
2013-04-07 18:58:55 -04:00
2013-04-19 14:57:57 -04:00
2013-02-10 19:41:08 -05:00