]> git.baikalelectronics.ru Git - kernel.git/commit
net/core: Document reuseport_add_sock() bind_inany argument
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 Mar 2019 16:17:19 +0000 (09:17 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2019 20:49:43 +0000 (13:49 -0700)
commit31e50c8770cec6b0963c5ac3e329179304273ab5
tree5d56adebac5e58f452beaa9258b39d2447e6ec17
parenta8704eacf672e8cf26b24d7c9e443d20f59f7b0b
net/core: Document reuseport_add_sock() bind_inany argument

This patch avoids that the following warning is reported when building
with W=1:

warning: Function parameter or member 'bind_inany' not described in 'reuseport_add_sock'

Cc: Martin KaFai Lau <kafai@fb.com>
Fixes: ebe0a6fb91fb ("bpf: Introduce BPF_PROG_TYPE_SK_REUSEPORT") # v4.19.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/sock_reuseport.c