Commit c1d630b5 authored by Linus Torvalds's avatar Linus Torvalds

Resolve merge conflict

parents 44879cd0 c3a12cc5
......@@ -855,8 +855,7 @@ int ip_mroute_setsockopt(struct sock *sk,int optname,char *optval,int optlen)
switch(optname)
{
case MRT_INIT:
if(sk->type!=SOCK_RAW ||
inet_sk(sk)->num!=IPPROTO_IGMP)
if(sk->type!=SOCK_RAW || inet_sk(sk)->num!=IPPROTO_IGMP)
return -EOPNOTSUPP;
if(optlen!=sizeof(int))
return -ENOPROTOOPT;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment