projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5f79d1
)
pktgen_dst_metrics[] can be static
author
Fengguang Wu
<fengguang.wu@intel.com>
Mon, 6 Jan 2014 10:00:07 +0000
(11:00 +0100)
committer
Steffen Klassert
<steffen.klassert@secunet.com>
Mon, 6 Jan 2014 10:00:07 +0000
(11:00 +0100)
CC: Fan Du <fan.du@windriver.com>
CC: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/core/pktgen.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/pktgen.c
b/net/core/pktgen.c
index 45ba476a7e17221e0a56d08e1914143e6b4fd79a..a37ec53c554c6b52203e4fe6ec02255e7c15e064 100644
(file)
--- a/
net/core/pktgen.c
+++ b/
net/core/pktgen.c
@@
-2500,7
+2500,7
@@
static void mod_cur_headers(struct pktgen_dev *pkt_dev)
#ifdef CONFIG_XFRM
-u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
+
static
u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
[RTAX_HOPLIMIT] = 0x5, /* Set a static hoplimit */
};