kernel: bump 5.10 to 5.10.80
[openwrt/openwrt.git] / target / linux / generic / backport-5.10 / 603-v5.12-net-fix-race-between-napi-kthread-mode-and-busy-poll.patch
index 6617ee172e49d80dafc85dce74eaad0b46434781..a9e83a6d234470c68c18f8dad2b279bbd664d5bf 100644 (file)
@@ -45,7 +45,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
  enum gro_result {
 --- a/net/core/dev.c
 +++ b/net/core/dev.c
-@@ -4294,6 +4294,8 @@ static inline void ____napi_schedule(str
+@@ -4297,6 +4297,8 @@ static inline void ____napi_schedule(str
                 */
                thread = READ_ONCE(napi->thread);
                if (thread) {
@@ -54,7 +54,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
                        wake_up_process(thread);
                        return;
                }
-@@ -6554,7 +6556,8 @@ bool napi_complete_done(struct napi_stru
+@@ -6557,7 +6559,8 @@ bool napi_complete_done(struct napi_stru
  
                WARN_ON_ONCE(!(val & NAPIF_STATE_SCHED));
  
@@ -64,7 +64,7 @@ Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>
  
                /* If STATE_MISSED was set, leave STATE_SCHED set,
                 * because we will call napi->poll() one more time.
-@@ -6990,16 +6993,25 @@ static int napi_poll(struct napi_struct
+@@ -6993,16 +6996,25 @@ static int napi_poll(struct napi_struct
  
  static int napi_thread_wait(struct napi_struct *napi)
  {