numam-dpdk/lib/librte_net
Andy Green 5a7e5accc6 net: move stack variable at top of VLAN strip function
In function 'rte_vlan_strip':
rte_ether.h:357:2:
warning: ISO C90 forbids mixed declarations and code
[-Wdeclaration-after-statement]
  struct vlan_hdr *vh = (struct vlan_hdr *)(eh + 1);

Fixes: c974021a59 ("ether: add soft vlan encap/decap")
Cc: stable@dpdk.org

Signed-off-by: Andy Green <andy@warmcat.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
2018-05-13 22:45:25 +02:00
..
Makefile net: export IPv6 header extensions skip function 2018-04-27 17:34:41 +01:00
meson.build net: export IPv6 header extensions skip function 2018-04-27 17:34:41 +01:00
net_crc_neon.h lib: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
net_crc_sse.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_arp.c add experimental tag to appropriate functions 2018-01-29 23:35:29 +01:00
rte_arp.h net: use SPDX tags 2018-02-01 02:27:22 +01:00
rte_esp.h align SPDX Mellanox copyrights 2018-04-11 01:47:47 +02:00
rte_ether.h net: move stack variable at top of VLAN strip function 2018-05-13 22:45:25 +02:00
rte_gre.h net: use SPDX tags 2018-02-01 02:27:22 +01:00
rte_icmp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_ip.h net: add IPv6 header fields macros 2018-01-21 15:51:52 +01:00
rte_net_crc.c lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_net_crc.h lib: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_net_version.map net: export IPv6 header extensions skip function 2018-04-27 17:34:41 +01:00
rte_net.c net: export IPv6 header extensions skip function 2018-04-27 17:34:41 +01:00
rte_net.h net: export IPv6 header extensions skip function 2018-04-27 17:34:41 +01:00
rte_sctp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_tcp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00
rte_udp.h net: update licence for network headers 2018-01-05 19:23:29 +01:00