[Differential] [Commented On] D1761: Extend LRO support to accumulate more than 65535 bytes

hselasky (Hans Petter Selasky) phabric-noreply at FreeBSD.org
Tue Feb 3 18:08:30 UTC 2015


hselasky added a comment.

See comments added.

INLINE COMMENTS
  sys/netinet/ip_output.c:129 Because the variable is later on compared to the "mtu" which is also an "int". Else you will get a compile warning about signed comparison mismatch. Same goes for other location where "int" is used.
  sys/netinet/tcp_lro.c:233 This is a dummy value which should not be used in the new LRO implementation. 65535 is chosen to make the packet drop as invalid in case some code that is not updated, if any, decides to check the "p_len" with "m_pkthdr.len".

REVISION DETAIL
  https://reviews.freebsd.org/D1761

To: hselasky, rmacklem, rrs, glebius, gnn, emaste, imp, adrian, bz, rwatson
Cc: freebsd-net


More information about the freebsd-net mailing list