genetlink: remove family pointer from genl_multicast_group
[firefly-linux-kernel-4.4.55.git] / include / net / busy_poll.h
index 8a358a2c97e6a82cb98dd6b9586133828306f961..829627d7b8460e1739da979a3937056dde92a48e 100644 (file)
@@ -123,6 +123,7 @@ static inline bool sk_busy_loop(struct sock *sk, int nonblock)
                        /* local bh are disabled so it is ok to use _BH */
                        NET_ADD_STATS_BH(sock_net(sk),
                                         LINUX_MIB_BUSYPOLLRXPACKETS, rc);
+               cpu_relax();
 
        } while (!nonblock && skb_queue_empty(&sk->sk_receive_queue) &&
                 !need_resched() && !busy_loop_timeout(end_time));