Skip to content

Commit

Permalink
pktgen_dst_metrics[] can be static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fengguang Wu authored and Steffen Klassert committed Jan 6, 2014
1 parent e5f79d1 commit 5537a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/pktgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down

0 comments on commit 5537a05

Please sign in to comment.