#ifndef TRAFGEN_L3_H #define TRAFGEN_L3_H enum ip4_field { IP4_VER, IP4_IHL, IP4_DSCP, IP4_ECN, IP4_TOS, IP4_LEN, IP4_ID, IP4_FLAGS, IP4_FRAG_OFFS, IP4_TTL, IP4_PROTO, IP4_CSUM, IP4_SADDR, IP4_DADDR, IP4_DF, IP4_MF, }; extern void protos_l3_init(void); #endif /* TRAFGEN_L2_H */ >
summaryrefslogtreecommitdiff
='495fbae6e2c115099921ba33b1e1bea1190b5280'/>
ModeNameSize
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2016-06-07 07:43:46 -0400
committerDoug Ledford <dledford@redhat.com>2016-06-07 09:50:52 -0400
commit495fbae6e2c115099921ba33b1e1bea1190b5280 (patch)
tree3118b46a560246c847c4674a19084bc4f9d01d31
parent41aaa99fab6ceaa4b533c2b6ad4913987ddb3ddc (diff)
IB/core: fix error unwind in sysfs hw counters code
Between the initial and final versions of the function setup_hw_stats, the order of variable initialization was changed. However, the unwind flow on error did not properly keep up with the flow changes. Make the unwind flow match a proper unwind of the allocation flow, then remove no longer needed variable initializations. Fixes: b40f4757daa1 (IB/core: Make device counter infrastructure dynamic) Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat