Commit 31c1955d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Andrei Vagin

inet: raw -- Prepare gen_uncon_sk for raw sockets

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@gmail.com>
parent 536e5798
......@@ -271,7 +271,7 @@ static struct inet_sk_desc *gen_uncon_sk(int lfd, const struct fd_parms *p,
sk->sd.ino = p->stat.st_ino;
if (proto == IPPROTO_TCP) {
if (type != SOCK_RAW && proto == IPPROTO_TCP) {
struct {
__u8 tcpi_state;
__u8 tcpi_ca_state;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment