net/Kconfig: Ethernet packet buffer size cannot be permitted to go below 1294 is IPv6 is selected.

This commit is contained in:
Gregory Nutt
2019-08-31 09:08:32 -06:00
parent 89096d0fc7
commit 9bdde04636
3 changed files with 6 additions and 2 deletions
+3
View File
@@ -344,6 +344,9 @@ int ipv4_input(FAR struct net_driver_s *dev)
/* Start of IP input header processing code.
*
* Check validity of the IP header.
* REVISIT: Does not account for varying IP header length due to the
* presences of IPv4 options. The header length is encoded as a number
* 32-bit words in the HL nibble of the VHL.
*/
if (ipv4->vhl != 0x45)