datapath: STT: Fix checksum handling.
authorPravin B Shelar <pshelar@ovn.org>
Fri, 4 Mar 2016 00:15:40 +0000 (16:15 -0800)
committerPravin B Shelar <pshelar@ovn.org>
Fri, 4 Mar 2016 00:15:40 +0000 (16:15 -0800)
commitc26d70a2452ad0d7a13b72c94641d08001283119
tree080c7aed3108afaf688519cecafbebe263df1512
parentc391558c30d7d7eb5c20da3ba0cd4700b6890962
datapath: STT: Fix checksum handling.

On packet receive STT verifies the checksum if not done in
hardware. But IP and TCP were pulled before the verification
step. The verification expect to see packet with TCP header.
This causes STT to drop packet in certain cases.

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Joe Stringer <joe@ovn.org>
datapath/linux/compat/stt.c