aboutsummaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2014-01-06 11:00:07 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2014-01-06 11:00:07 +0100
commit5537a0557c26b1005a8f6e59125bfe3f4e51226a (patch)
tree1ce6919777ebeb6ac79f31156a24f658e94f9efd /net/core
parente5f79d111fd4827b44583dc4168957561166565a (diff)
pktgen_dst_metrics[] can be static
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>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/pktgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index 45ba476a7e1..a37ec53c554 100644
--- 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 */
};