summaryrefslogtreecommitdiffstats
path: root/include/net/strparser.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2016-08-23 11:55:30 -0700
committerDavid S. Miller <davem@davemloft.net>2016-08-23 16:23:12 -0700
commitcff6a334e63420e95ec40dc7fcdc0b8258615760 (patch)
tree0c63de6d61d8228c38e6ada5d7c7d131eaf10aff /include/net/strparser.h
parent3c90a941eda4836b0492b7f44e596a2700c1d0d6 (diff)
downloadtalos-obmc-linux-cff6a334e63420e95ec40dc7fcdc0b8258615760.tar.gz
talos-obmc-linux-cff6a334e63420e95ec40dc7fcdc0b8258615760.zip
strparser: Queue work when being unpaused
When the upper layer unpauses a stream parser connection we need to queue rx_work to make sure no events are missed. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/strparser.h')
-rw-r--r--include/net/strparser.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/strparser.h b/include/net/strparser.h
index fdb3d6746cc4..91fa0b958426 100644
--- a/include/net/strparser.h
+++ b/include/net/strparser.h
@@ -88,10 +88,7 @@ static inline void strp_pause(struct strparser *strp)
}
/* May be called without holding lock for attached socket */
-static inline void strp_unpause(struct strparser *strp)
-{
- strp->rx_paused = 0;
-}
+void strp_unpause(struct strparser *strp);
static inline void save_strp_stats(struct strparser *strp,
struct strp_aggr_stats *agg_stats)
OpenPOWER on IntegriCloud