tcp: add gfp parameter to tcp_fragment
tcp_fragment can be called from process context (from tso_fragment). Add a new gfp parameter to allow it to preserve atomic memory if possible. Signed-off-by: Octavian Purdila <octavian.purdila@intel.com> Reviewed-by: Christoph Paasch <christoph.paasch@uclouvain.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
27fa589de5
commit
6cc55e096f
@@ -535,7 +535,7 @@ void tcp_retransmit_timer(struct sock *sk);
|
||||
void tcp_xmit_retransmit_queue(struct sock *);
|
||||
void tcp_simple_retransmit(struct sock *);
|
||||
int tcp_trim_head(struct sock *, struct sk_buff *, u32);
|
||||
int tcp_fragment(struct sock *, struct sk_buff *, u32, unsigned int);
|
||||
int tcp_fragment(struct sock *, struct sk_buff *, u32, unsigned int, gfp_t);
|
||||
|
||||
void tcp_send_probe0(struct sock *);
|
||||
void tcp_send_partial(struct sock *);
|
||||
|
Reference in New Issue
Block a user