Skip to contentSkip to conversation

Patch "net: dst_cache_per_cpu_dst_set() can be static" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Feb 24, 2018

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

net: dst_cache_per_cpu_dst_set() can be static

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
net-dst_cache_per_cpu_dst_set-can-be-static.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From b73f96fcb49ec90c2f837719893e7b25fcdf08d8 Mon Sep 17 00:00:00 2001

From: Wu Fengguang <[email protected]>
Date: Fri, 18 Mar 2016 23:27:28 +0800
Subject: net: dst_cache_per_cpu_dst_set() can be static

From: Wu Fengguang <[email protected]>

commit b73f96fcb49ec90c2f837719893e7b25fcdf08d8 upstream.

---
 net/core/dst_cache.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
net/core/dst_cache.c +4 -4
@@ -28,8 +28,8 @@ struct dst_cache_pcpu {
 	};
 };
 
-void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache,
-			       struct dst_entry *dst, u32 cookie)
+static void dst_cache_per_cpu_dst_set(struct dst_cache_pcpu *dst_cache,
+				      struct dst_entry *dst, u32 cookie)
 {
 	dst_release(dst_cache->dst);
 	if (dst)
@@ -39,8 +39,8 @@ void dst_cache_per_cpu_dst_set(struct ds
 	dst_cache->dst = dst;
 }
 
-struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache,
-					struct dst_cache_pcpu *idst)
+static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache,
+					       struct dst_cache_pcpu *idst)
 {
 	struct dst_entry *dst;
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/net-dst_cache_per_cpu_dst_set-can-be-static.patch queue-4.4/video-use-bool-instead-int-pointer-for-get_opt_bool-argument.patch queue-4.4/staging-wilc1000-fix-kbuild-test-robot-error.patch queue-4.4/serial-8250_mid-fix-broken-dma-dependency.patch