| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
git://codeaurora.org/platform/external/android-clat into cm-13.0
Change-Id: I8ff75c228032b83459bfc1090488fb670c01734e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
With this change, we can notify network stack to disable checksum
validation for GRO packets as well as other packets which have
checksum validation completed earlier in a driver.
GRO packets have the ip_summed field set to CHECKSUM_PARTIAL while
checksum offloaded packets have the ip_summed field as
CHECKSUM_UNNECESSARY. Kernel copies this ip_summed field to the
status field in the tpacket filter. The information from the status
field is then passed as part of the TUN header to the TUN interface.
Any other packet will have the complete checksum validation done
in the network stack. Note that this only applies to packets which
are captured in packet sockets and passed onto the TUN interface.
Change-Id: I536c0356cbbf30fed7ecda5fdd0d38fa0dfd7bf3
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 7efed4e30259da5348c4a7c2c77a0d0d4b13834d.
This change may bypass checksum validation for all packets even if
they have not been validated earlier.
Hardware supports checksum offload for IPv4 / IPv6 UDP and TCP
packets only. ICMPv4 / ICMPv6 / fragmented packet checksum offload
is not supported and as a result the checksum will not be validated
even once before these packet are delivered to the application.
Change-Id: I28152b63bb432c3dc37fe7a713c3b225a662f678
|
|/
|
|
| |
Change-Id: Icd63e74aa14d1fe4d3220134bd17fc222492ea2d
|
|
|
|
|
|
|
|
|
| |
This is needed to handle cases when the packet socket receives
a GRO coalesced packet which will not have a valid TCP checksum.
TUN_NOCHECKSUM is used only when the checksum has already been
verified prior to this and GRO is being used.
Change-Id: I1409967523152bb7620b4881526e78e8c222cc72
|
|\
| |
| |
| |
| |
| | |
unused variables.
* commit 'ca1976f4a486d48d5e96ac0bfa16560820bea777':
|
| |\
| | |
| | |
| | | |
* commit '9fbed20c70b0fd51c2e92e8073cf860d1a650af8':
|
| | |\
| | | |
| | | |
| | | | |
* commit '624e743cbfacffb4e1691138f97bd4980a76ac02':
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
on any event, not just on POLLIN.
* commit 'ea2105a379cc829e3265ce5c37710c47b80dbd48':
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
not just on POLLIN.
* commit 'ce88200a81198d1079c9364365e2aed152b7c365':
|
| | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
POLLIN.
* commit '23d83ff24853d74fe03de96bae23b17655f4546b':
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
unused #include.
* commit '8e8840a421d585d0e0b698476099d7ace84a0849':
|
| |\| | |
| | | | |
| | | | |
| | | | | |
* commit '917b21a7b0472d471d29c3f6c9a5b94f2ad2dbc7':
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | | |
* commit '5105819cc3cada594aa3417a68abbe93b432b99b':
|
|\| | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
implicit declaration of function \'prctl\' in clatd.
* commit '7dbcac716d347262298336f91fcac60abf0caa71':
|
| |\| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
of function \'prctl\' in clatd.
* commit '4a4226997f70e92a0d6536d02655b57f381ae626':
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
\'prctl\' in clatd.
* commit '247b3245cb476ae7bb63532d6d55634dcaa707ad':
|
|\| | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
unused #include.
* commit '96928e59ae4f88d716a0b56d52ede69c868e0c29':
|
| |\| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '03832b9817c64856664e805a5ac8fc43da023c3d':
|
| | |\ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '6a92f66b2f33884ef78139c14b54862ba09299f1':
|
|\| | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
implicit declaration of function \'prctl\' in clatd.
* commit '803d3ef41ecd1513eda51da249f59194e45e1f74':
|
| |\| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
of function \'prctl\' in clatd.
* commit 'b682729e7353a280c4495a8a07416073613e0a67':
|
| | |\ \ \ \ \ \
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
\'prctl\' in clatd.
* commit '09d568fda561d4915e9a222bea7487a5200dca69':
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
master_merge
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: I3b1384e78c55b7327b6a635d0a853665cbb59e8b
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
(cherry picked from commit 49454814a0a714189916cb2aea1922bc8784b13b)
Change-Id: I6c0e0fba64e9a785cd225e8c543df06e864db8e7
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
(cherry picked from commit 9353be2a5f1b4fd00b04e4c826f7f3c3ec6c5d46)
Change-Id: Ifb35b4efae0363a2006f3bba002e44a0560f3014
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
(cherry picked from commit cfbb4ac47fb065c888b63b03a5697d24c9c5952e)
Change-Id: I03411d12ef4f45fe0c0c14dd6f546108e272da93
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
(cherry picked from commit b20719ebf403b16d36a231aeef96607f8c7aa252)
Change-Id: Ied5c60ceaf6ae3c80a3e0ac0785581e758158d20
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Also remove a redundant include in checksum.c.
(cherry picked from commit 6b2007aacd13344c9bc73d5d858bd903b432c228)
Change-Id: I8fd33ff52375b51e5d2f15b0a206d0a2dd3ba461
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
(cherry picked from commit ff6f7fe4bd983c623d490100fa17cdb4936b95a2)
Change-Id: I1effc2309565375bbe98262dd602a0895ab49fcf
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
For build-system CFLAGS clean-up, fix unused-but-set variables.
(cherry picked from commit fee9afb1a5d9f7f5df0c79e29368c61d7da16fb8)
Change-Id: Icacc158baae40d18f56bb32bb400ae6e765b0dad
|
|\ \ \ \ \ \ \ \ \ \
| | |/ / / / / / / /
| |/| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
MERGE ANYWHERE.
* commit '93be75925f18873ba28fffd4c11a2a2004c7312d':
|
| |\ \ \ \ \ \ \ \ \
| | |_|/ / / / / / /
| |/| | | | | | | /
| | | |_|_|_|_|_|/
| | |/| | | | | | |
|
| | |\ \ \ \ \ \ \
| | | |_|_|_|_|_|/
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '8dccd3794fa07bd6ebcb9c82172860f7fd631855':
Remove unused variables.
|
| | |\ \ \ \ \ \ \
| | | |_|_|_|_|_|/
| | |/| | | | | |
| | | | | | | | | |
* commit 'cca70d8b359709a1fb6989f30f278c4a9e86deb9':
|
| | |\ \ \ \ \ \ \
| | | |_|_|_|_|_|/
| | |/| | | | | |
| | | | | | | | | |
* commit '8a20092a0781bab6bbe61df53c0f876655d047da':
|
| | |\ \ \ \ \ \ \
| | | |_|_|_|_|_|/
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
clatd.
* commit '1772218b15121991fbe21c845be526636ea3762b':
|
| | |\ \ \ \ \ \ \
| | | |_|_|_|_|_|/
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '74aa459500f76eb3232df26ecdd6790110ade80a':
Remove unused #include.
|
| | |\ \ \ \ \ \ \
| | | |_|_|_|_|_|/
| | |/| | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
clatd.
* commit 'be066f6079f511fc76cb58e3678f7bc315d6408b':
Fix implicit declaration of function 'prctl' in clatd.
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '6ea37346ad20ac623312051b293bf5656e8072f6':
Remove unused variables.
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Change-Id: I3b1384e78c55b7327b6a635d0a853665cbb59e8b
|
|\| | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
* commit '4cc75ff1ce527949387107d9d140fb6a69e5e1f0':
Make the raw socket and the tun fd nonblocking.
|
| |\ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '49454814a0a714189916cb2aea1922bc8784b13b':
Make the raw socket and the tun fd nonblocking.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: I29a3d510ba0b766488bbd66d57829d9aaf70d21d
|
|\| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
PACKET_RX_RING.
* commit 'f007c63fd437d1bd979bbe3882948776485ef55c':
Switch the receive path to memory-mapped I/O with PACKET_RX_RING.
|
| |\| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '9353be2a5f1b4fd00b04e4c826f7f3c3ec6c5d46':
Switch the receive path to memory-mapped I/O with PACKET_RX_RING.
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: I93231de8f108db782eaa43aceb6cc5281d3739c4
|
|\| | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
* commit '43e459a234df420806d30bd5613464eedc25ece7':
Cleanup: Remove unused "ipv6_local_address".
|
| |\| | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
Change-Id: I9e7400c62fd9cb8eec946c77ab0727e05af18638
|