net: ipv6: Default reassembly timeout set to 5 sec
The previous default 60 seconds is way too long for our limited amount of memory. It might be that the 5 sec is still too long but that can be changed in the future. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
5d91b2ffe9
commit
329579f5b1
|
@ -64,7 +64,7 @@ config NET_IPV6_FRAGMENT_MAX_COUNT
|
|||
config NET_IPV6_FRAGMENT_TIMEOUT
|
||||
int "How long to wait the fragments to receive"
|
||||
range 1 60
|
||||
default 60
|
||||
default 5
|
||||
depends on NET_IPV6_FRAGMENT
|
||||
help
|
||||
How long to wait for IPv6 fragment to arrive before the reassembly
|
||||
|
|
|
@ -2671,7 +2671,7 @@ static struct net_icmpv6_handler ra_input_handler = {
|
|||
#if defined(CONFIG_NET_IPV6_FRAGMENT_TIMEOUT)
|
||||
#define IPV6_REASSEMBLY_TIMEOUT K_SECONDS(CONFIG_NET_IPV6_FRAGMENT_TIMEOUT)
|
||||
#else
|
||||
#define IPV6_REASSEMBLY_TIMEOUT K_SECONDS(60)
|
||||
#define IPV6_REASSEMBLY_TIMEOUT K_SECONDS(5)
|
||||
#endif /* CONFIG_NET_IPV6_FRAGMENT_TIMEOUT */
|
||||
|
||||
#define FRAG_BUF_WAIT 10 /* how long to max wait for a buffer */
|
||||
|
|
Loading…
Reference in New Issue