net: tcp: Properly ACK received TCP data
net: tcp: Properly ACK received TCP data

Parse and validate the sequence number and send the ACK synchronously
in the tcp_established() callback.  No attempt is made to unify the
packet with any queued data (which isn't queued yet, but might be
someday).

Note that this requires that an accepted context clone over the
sequence numbers from the listening context (which received them
during the SYN).

(Note also that this exposes a bug in the current SYN handling:
there's only space for one set of sequence numbers on that listening
context, so if we get two SYNs before the round trip ACK arrives we'll
"accept" the wrong connection with garbage sequence numbers and both
connections will fail).

Change-Id: I129e2a4cd926385511a1d22eea6d4f19ff185501
Signed-off-by: Andy Ross <c70f9a6bf6ee0cd69c8af4ce5e6b131945769315@intel.com>

sharronliu/zephyr,runchip/zephyr-cc3220,zephyriot/zephyr,punitvara/zephyr,fbsder/zephyr,bboozzoo/zephyr,rsalveti/zephyr,Vudentz/zephyr,holtmann/zephyr,explora26/zephyr,Vudentz/zephyr,holtmann/zephyr,pklazy/zephyr,rsalveti/zephyr,aceofall/zephyr-iotos,tidyjiang8/zephyr-doc,runchip/zephyr-cc3200,explora26/zephyr,holtmann/zephyr,bigdinotech/zephyr,runchip/zephyr-cc3200,fractalclone/zephyr-riscv,nashif/zephyr,Vudentz/zephyr,finikorg/zephyr,ldts/zephyr,bigdinotech/zephyr,nashif/zephyr,mbolivar/zephyr,aceofall/zephyr-iotos,kraj/zephyr,kraj/zephyr,pklazy/zephyr,bboozzoo/zephyr,Vudentz/zephyr,rsalveti/zephyr,tidyjiang8/zephyr-doc,runchip/zephyr-cc3220,pklazy/zephyr,bigdinotech/zephyr,rsalveti/zephyr,fbsder/zephyr,fractalclone/zephyr-riscv,zephyriot/zephyr,finikorg/zephyr,holtmann/zephyr,GiulianoFranchetto/zephyr,aceofall/zephyr-iotos,kraj/zephyr,nashif/zephyr,erwango/zephyr,pklazy/zephyr,fractalclone/zephyr-riscv,rsalveti/zephyr,erwango/zephyr,sharronliu/zephyr,tidyjiang8/zephyr-doc,kraj/zephyr,ldts/zephyr,galak/zephyr,finikorg/zephyr,zephyriot/zephyr,mbolivar/zephyr,holtmann/zephyr,mbolivar/zephyr,runchip/zephyr-cc3200,GiulianoFranchetto/zephyr,galak/zephyr,bigdinotech/zephyr,runchip/zephyr-cc3220,fbsder/zephyr,erwango/zephyr,zephyrproject-rtos/zephyr,runchip/zephyr-cc3220,nashif/zephyr,bboozzoo/zephyr,sharronliu/zephyr,explora26/zephyr,fbsder/zephyr,mbolivar/zephyr,Vudentz/zephyr,runchip/zephyr-cc3200,pklazy/zephyr,kraj/zephyr,aceofall/zephyr-iotos,explora26/zephyr,punitvara/zephyr,bboozzoo/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,sharronliu/zephyr,finikorg/zephyr,erwango/zephyr,explora26/zephyr,erwango/zephyr,ldts/zephyr,runchip/zephyr-cc3220,sharronliu/zephyr,Vudentz/zephyr,tidyjiang8/zephyr-doc,galak/zephyr,mbolivar/zephyr,ldts/zephyr,galak/zephyr,bigdinotech/zephyr,zephyriot/zephyr,aceofall/zephyr-iotos,finikorg/zephyr,punitvara/zephyr,nashif/zephyr,zephyriot/zephyr,fractalclone/zephyr-riscv,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,fbsder/zephyr,zephyrproject-rtos/zephyr,tidyjiang8/zephyr-doc,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,runchip/zephyr-cc3200,fractalclone/zephyr-riscv,bboozzoo/zephyr,galak/zephyr,ldts/zephyr