[PATCH 2/6 net-next] inet: drop ->bind_conflict

2017-01-17 Thread Josef Bacik
The only difference between inet6_csk_bind_conflict and inet_csk_bind_conflict is how they check the rcv_saddr, so delete this call back and simply change inet_csk_bind_conflict to call inet_rcv_saddr_equal. Signed-off-by: Josef Bacik --- include/net/inet6_connection_sock.h | 5 - include/n

Re: [PATCH 2/6 net-next] inet: drop ->bind_conflict

2017-01-12 Thread Josef Bacik
On Thu, Jan 12, 2017 at 2:56 PM, David Miller wrote: From: Josef Bacik Date: Wed, 11 Jan 2017 15:22:40 -0500 diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 56d756e..dc07734 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -63,6 +63,7 @@ #include #include

Re: [PATCH 2/6 net-next] inet: drop ->bind_conflict

2017-01-12 Thread David Miller
From: Josef Bacik Date: Wed, 11 Jan 2017 15:22:40 -0500 > diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c > index 56d756e..dc07734 100644 > --- a/net/ipv4/tcp_ipv4.c > +++ b/net/ipv4/tcp_ipv4.c > @@ -63,6 +63,7 @@ > #include > #include > > +#include > #include > #include > #inc

[PATCH 2/6 net-next] inet: drop ->bind_conflict

2017-01-11 Thread Josef Bacik
The only difference between inet6_csk_bind_conflict and inet_csk_bind_conflict is how they check the rcv_saddr, so delete this call back and simply change inet_csk_bind_conflict to call inet_rcv_saddr_equal. Signed-off-by: Josef Bacik --- include/net/inet6_connection_sock.h | 5 - include/n

[PATCH 2/6 net-next] inet: drop ->bind_conflict

2016-12-22 Thread Josef Bacik
The only difference between inet6_csk_bind_conflict and inet_csk_bind_conflict is how they check the rcv_saddr, so delete this call back and simply change inet_csk_bind_conflict to call inet_rcv_saddr_equal. Signed-off-by: Josef Bacik --- include/net/inet6_connection_sock.h | 5 - include/n