]> git.baikalelectronics.ru Git - kernel.git/commit
net: don't declare IPv6 non-local bind helper if CONFIG_IPV6 undefined
authorVincent Bernat <vincent@bernat.im>
Wed, 1 Aug 2018 20:05:10 +0000 (22:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 20:45:31 +0000 (13:45 -0700)
commita17c2801c445b9ad3778e7f4728279701bfe9f9d
tree12a0b2f7e010cb9485667c966216612e44685418
parent76a6bbc17d3d0560505b4323317142820262a332
net: don't declare IPv6 non-local bind helper if CONFIG_IPV6 undefined

Fixes: e7f6af523e94 ("net: add helpers checking if socket can be bound to nonlocal address")
Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h