mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
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>
This commit is contained in:
parent
e5f79d111f
commit
5537a0557c
@ -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 */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user