mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
tcp6: Add GRO support
This patch adds GRO support for TCP over IPv6. The code is exactly the same as the IPv4 version except for the pseudo-header checksum computation. Note that I've removed the unused tcphdr argument from tcp_v6_check rather than invent a bogus value for GRO. Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
787e920836
commit
684f217601
2 changed files with 43 additions and 4 deletions
|
|
@ -2542,6 +2542,7 @@ out:
|
|||
|
||||
return pp;
|
||||
}
|
||||
EXPORT_SYMBOL(tcp_gro_receive);
|
||||
|
||||
int tcp_gro_complete(struct sk_buff *skb)
|
||||
{
|
||||
|
|
@ -2558,6 +2559,7 @@ int tcp_gro_complete(struct sk_buff *skb)
|
|||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(tcp_gro_complete);
|
||||
|
||||
#ifdef CONFIG_TCP_MD5SIG
|
||||
static unsigned long tcp_md5sig_users;
|
||||
|
|
|
|||
Loading…
Reference in a new issue