diff options
Diffstat (limited to 'net/sctp/protocol.c')
-rw-r--r-- | net/sctp/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index b92196495027..3f7def2936b4 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c | |||
@@ -372,7 +372,7 @@ static int sctp_v4_addr_valid(union sctp_addr *addr, | |||
372 | /* Should this be available for binding? */ | 372 | /* Should this be available for binding? */ |
373 | static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp) | 373 | static int sctp_v4_available(union sctp_addr *addr, struct sctp_sock *sp) |
374 | { | 374 | { |
375 | int ret = inet_addr_type(addr->v4.sin_addr.s_addr); | 375 | int ret = inet_addr_type(&init_net, addr->v4.sin_addr.s_addr); |
376 | 376 | ||
377 | 377 | ||
378 | if (addr->v4.sin_addr.s_addr != INADDR_ANY && | 378 | if (addr->v4.sin_addr.s_addr != INADDR_ANY && |