OSDN Git Service

tcp: tcp_conn_request: fix build error when IPv6 is disabled
authorOctavian Purdila <octavian.purdila@intel.com>
Sat, 28 Jun 2014 18:20:54 +0000 (21:20 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jun 2014 06:46:38 +0000 (23:46 -0700)
commit4135ab8208048a1586385fae1298726d7dacfc26
tree742437711ba18086d42d3933b886dd9b23e73e57
parent9e1a21b69394b677bd9b144bb638f6c660f77ed2
tcp: tcp_conn_request: fix build error when IPv6 is disabled

Fixes build error introduced by commit 1fb6f159fd21c64 (tcp: add
tcp_conn_request):

net/ipv4/tcp_input.c: In function 'pr_drop_req':
net/ipv4/tcp_input.c:5889:130: error: 'struct sock_common' has no member named 'skc_v6_daddr'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c