|
@@ -1596,11 +1596,11 @@ static inline void sock_put(struct sock *sk)
|
|
void sock_gen_put(struct sock *sk);
|
|
void sock_gen_put(struct sock *sk);
|
|
|
|
|
|
int __sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested,
|
|
int __sk_receive_skb(struct sock *sk, struct sk_buff *skb, const int nested,
|
|
- unsigned int trim_cap);
|
|
|
|
|
|
+ unsigned int trim_cap, bool refcounted);
|
|
static inline int sk_receive_skb(struct sock *sk, struct sk_buff *skb,
|
|
static inline int sk_receive_skb(struct sock *sk, struct sk_buff *skb,
|
|
const int nested)
|
|
const int nested)
|
|
{
|
|
{
|
|
- return __sk_receive_skb(sk, skb, nested, 1);
|
|
|
|
|
|
+ return __sk_receive_skb(sk, skb, nested, 1, true);
|
|
}
|
|
}
|
|
|
|
|
|
static inline void sk_tx_queue_set(struct sock *sk, int tx_queue)
|
|
static inline void sk_tx_queue_set(struct sock *sk, int tx_queue)
|