There was an error while loading. Please reload this page.
1 parent c207fa6 commit 210a95fCopy full SHA for 210a95f
1 file changed
drivers/intel/ice/ice-2.3.10-zc/src/kcompat-generator.sh
@@ -205,7 +205,12 @@ function gen-flow-dissector() {
205
sgh='include/net/sch_generic.h'
206
tmh='include/net/tc_act/tc_mirred.h'
207
208
- gen HAVE_FLOW_DISSECTOR_KEY_PPPOE if enum flow_dissector_key_id matches FLOW_DISSECTOR_KEY_PPPOE in "$fdh" "$fkh"
+ HAVE_PPPOE=0
209
+ if check enum flow_dissector_key_id matches FLOW_DISSECTOR_KEY_PPPOE in "$fdh" "$fkh" &&
210
+ check struct flow_match_pppoe in "$foh"; then
211
+ HAVE_PPPOE=1
212
+ fi
213
+ gen HAVE_FLOW_DISSECTOR_KEY_PPPOE if string "$HAVE_PPPOE" equals 1
214
gen HAVE_FLOW_DISSECTOR_ICMP_ID if enum flow_dissector_key_icmp matches id in "$fdh"
215
216
gen HAVE_FLOW_BLOCK_API if fun flow_block_cb_priv in "$foh"
0 commit comments