]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: Fix bug in tcp socket early demux
authorVijay Subramanian <subramanian.vijay@gmail.com>
Sat, 23 Jun 2012 17:38:10 +0000 (17:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Jun 2012 06:22:38 +0000 (23:22 -0700)
commit3cbd4b5e69ccc320c78b453ba82c3571aec10dc2
tree21d5572e6c6a0bc973fcc11c00e01e0de0491c86
parentc8601679f89f58ccaf3d4bda1a6f7539e4ae9f2b
tcp: Fix bug in tcp socket early demux

The dest port for the call to __inet_lookup_established() in TCP early demux
code is passed with the wrong endian-ness. This causes the lookup to fail
leading to early demux not being used.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c