Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45440
b: refs/heads/master
c: 469de9b
h: refs/heads/master
v: v3
  • Loading branch information
Paul Moore authored and David S. Miller committed Jan 9, 2007
1 parent 3c68869 commit 25e3978
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4a1c0107bca2eccf4491b86fec41ce63268d803d
refs/heads/master: 469de9b90f739f130ab3d483e819888e977596b8
2 changes: 1 addition & 1 deletion trunk/net/ipv4/af_inet.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ static int inet_create(struct socket *sock, int 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;
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/af_inet6.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static int inet6_create(struct socket *sock, int 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;
Expand Down

0 comments on commit 25e3978

Please sign in to comment.