mirror of https://github.com/OISF/suricata
af-xdp: make WriteLinuxTunables resolve real netdev name in case of altname used in suricata config
WriteLinuxTunables built the sysfs path from the configured interface name. When an altname is used in the config, sysfs only exposes the real netdev name and writing gro_flush_timeout/napi_defer_hard_irqs failed. Resolve the real name via if_indextoname before building the path. Ticket: #8780pull/16208/head
parent
928ac01215
commit
cc033f1960
Loading…
Reference in New Issue