Revert "net: busy-poll: use ktime_get_ns() instead of local_clock()"

This reverts commit 97751f7856.
This commit is contained in:
Ksawlii 2024-11-24 00:23:49 +01:00
parent 8f5ba6f0d2
commit 40f7c74cbc

View file

@ -61,7 +61,7 @@ static inline bool sk_can_busy_loop(struct sock *sk)
static inline unsigned long busy_loop_current_time(void)
{
#ifdef CONFIG_NET_RX_BUSY_POLL
return (unsigned long)(ktime_get_ns() >> 10);
return (unsigned long)(local_clock() >> 10);
#else
return 0;
#endif