aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2007-01-09 14:37:06 -0800
committerDavid S. Miller <davem@davemloft.net>2007-01-09 14:37:06 -0800
commit469de9b90f739f130ab3d483e819888e977596b8 (patch)
treefbec61bd030314045e8c0d1763acd64fbcba0cf9 /net/ipv6
parent[SCTP]: Fix err_hdr assignment in sctp_init_cause. (diff)
downloadlinux-dev-469de9b90f739f130ab3d483e819888e977596b8.tar.xz
linux-dev-469de9b90f739f130ab3d483e819888e977596b8.zip
[INET]: style updates for the inet_sock->is_icsk assignment fix
A quick patch to change the inet_sock->is_icsk assignment to better fit with existing kernel coding style. Signed-off-by: Paul Moore <paul.moore@hp.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/af_inet6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 832a5e6e2d7e..0e0e4262f4dc 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -171,7 +171,7 @@ lookup_protocol:
sk->sk_reuse = 1;
inet = inet_sk(sk);
- inet->is_icsk = (INET_PROTOSW_ICSK & answer_flags) == INET_PROTOSW_ICSK;
+ inet->is_icsk = (INET_PROTOSW_ICSK & answer_flags) != 0;
if (SOCK_RAW == sock->type) {
inet->num = protocol;