This will be used by ESP over TCP to handle the queue of IKE messages.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -3459,7 +3459,8 @@ static inline void skb_frag_list_init(struct sk_buff *skb) · 3458 unmodified lines | ||
| 3459 | 3459 | for (iter = skb_shinfo(skb)->frag_list; iter; iter = iter->next) |
| 3460 | 3460 | |
| 3461 | 3461 | |
| 3462 | −int __skb_wait_for_more_packets(struct sock *sk, int *err, long *timeo_p, | |
| 3462 | +int __skb_wait_for_more_packets(struct sock *sk, struct sk_buff_head *queue, | |
| 3463 | + int *err, long *timeo_p, | |
| 3463 | 3464 | const struct sk_buff *skb); |
| 3464 | 3465 | struct sk_buff *__skb_try_recv_from_queue(struct sock *sk, |
| 3465 | 3466 | struct sk_buff_head *queue, |
| @@ -3468,12 +3469,16 @@ struct sk_buff *__skb_try_recv_from_queue(struct sock *sk, · 2 unmodified lines | ||
| 3468 | 3469 | struct sk_buff *skb), |
| 3469 | 3470 | int *off, int *err, |
| 3470 | 3471 | struct sk_buff **last); |
| 3471 | −struct sk_buff *__skb_try_recv_datagram(struct sock *sk, unsigned flags, | |
| 3472 | +struct sk_buff *__skb_try_recv_datagram(struct sock *sk, | |
| 3473 | + struct sk_buff_head *queue, | |
| 3474 | + unsigned int flags, | |
| 3472 | 3475 | void (*destructor)(struct sock *sk, |
| 3473 | 3476 | struct sk_buff *skb), |
| 3474 | 3477 | int *off, int *err, |
| 3475 | 3478 | struct sk_buff **last); |
| 3476 | −struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned flags, | |
| 3479 | +struct sk_buff *__skb_recv_datagram(struct sock *sk, | |
| 3480 | + struct sk_buff_head *sk_queue, | |
| 3481 | + unsigned int flags, | |
| 3477 | 3482 | void (*destructor)(struct sock *sk, |
| 3478 | 3483 | struct sk_buff *skb), |
| 3479 | 3484 | int *off, int *err); |