diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2014-01-06 11:00:07 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2014-01-06 11:00:07 +0100 |
commit | 5537a0557c26b1005a8f6e59125bfe3f4e51226a (patch) | |
tree | 1ce6919777ebeb6ac79f31156a24f658e94f9efd | |
parent | e5f79d111fd4827b44583dc4168957561166565a (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>
-rw-r--r-- | net/core/pktgen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 45ba476a7e17..a37ec53c554c 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 */ }; |