Revert "selinux: do not report error on connect(AF_UNSPEC)"
authorPaolo Abeni <pabeni@redhat.com>
Fri, 10 May 2019 09:37:58 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 May 2019 16:34:31 +0000 (09:34 -0700)
commite711ab936a44ee9f63f1746c09029543f1b29dd2
treeb0b35eb0f559eb319863da857f1dfc4ff1df1075
parentb970afcfcabd63cd3832e95db096439c177c3592
Revert "selinux: do not report error on connect(AF_UNSPEC)"

This reverts commit c7e0d6cca86581092cbbf2cd868b3601495554cf.

It was agreed a slightly different fix via the selinux tree.

v1 -> v2:
 - use the correct reverted commit hash

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/selinux/hooks.c