mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
udpv4: Handle large incoming UDP/IPv4 packets and support software UFO.
- validate and forward GSO UDP/IPv4 packets from untrusted sources. - do software UFO if the outgoing device doesn't support UFO. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
30ffee8480
commit
d7ca4cc01f
3 changed files with 75 additions and 1 deletions
|
|
@ -207,4 +207,7 @@ extern void udp4_proc_exit(void);
|
|||
#endif
|
||||
|
||||
extern void udp_init(void);
|
||||
|
||||
extern int udp4_ufo_send_check(struct sk_buff *skb);
|
||||
extern struct sk_buff *udp4_ufo_fragment(struct sk_buff *skb, int features);
|
||||
#endif /* _UDP_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue