From 087ea4103c1a8378e65ca5be050810981e38ee90 Mon Sep 17 00:00:00 2001 From: Eric Joyner Date: Wed, 16 Oct 2019 18:12:22 +0000 Subject: [PATCH] Fix compile error introduced in r353658 "adapter" doesn't exist in ixl. Reported by: O. Hartmann --- sys/dev/ixl/ixl_pf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixl/ixl_pf_main.c b/sys/dev/ixl/ixl_pf_main.c index 14fe548ce121..2dafedae742c 100644 --- a/sys/dev/ixl/ixl_pf_main.c +++ b/sys/dev/ixl/ixl_pf_main.c @@ -2683,7 +2683,7 @@ ixl_update_stats_counters(struct ixl_pf *pf) * during the last interval, so capture that here. */ if (pf->stats.link_xoff_rx != prev_link_xoff_rx) - adapter->shared->isc_pause_frames = 1; + vsi->shared->isc_pause_frames = 1; /* Packet size stats rx */ ixl_stat_update48(hw, I40E_GLPRT_PRC64H(hw->port),