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) ...@@ -855,8 +855,7 @@ int ip_mroute_setsockopt(struct sock *sk,int optname,char *optval,int optlen)
switch(optname) switch(optname)
{ {
case MRT_INIT: case MRT_INIT:
if(sk->type!=SOCK_RAW || if(sk->type!=SOCK_RAW || inet_sk(sk)->num!=IPPROTO_IGMP)
inet_sk(sk)->num!=IPPROTO_IGMP)
return -EOPNOTSUPP; return -EOPNOTSUPP;
if(optlen!=sizeof(int)) if(optlen!=sizeof(int))
return -ENOPROTOOPT; 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