|
@@ -69,7 +69,7 @@ static inline int skb_array_produce_any(struct skb_array *a, struct sk_buff *skb
|
|
|
*/
|
|
*/
|
|
|
static inline bool __skb_array_empty(struct skb_array *a)
|
|
static inline bool __skb_array_empty(struct skb_array *a)
|
|
|
{
|
|
{
|
|
|
- return !__ptr_ring_peek(&a->ring);
|
|
|
|
|
|
|
+ return __ptr_ring_empty(&a->ring);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static inline struct sk_buff *__skb_array_peek(struct skb_array *a)
|
|
static inline struct sk_buff *__skb_array_peek(struct skb_array *a)
|