diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index f65fcd7704ca..009a1047fc3f 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -882,7 +882,7 @@ static int rawv6_seticmpfilter(struct sock *sk, int level, int optname, | |||
882 | return 0; | 882 | return 0; |
883 | default: | 883 | default: |
884 | return -ENOPROTOOPT; | 884 | return -ENOPROTOOPT; |
885 | }; | 885 | } |
886 | 886 | ||
887 | return 0; | 887 | return 0; |
888 | } | 888 | } |
@@ -907,7 +907,7 @@ static int rawv6_geticmpfilter(struct sock *sk, int level, int optname, | |||
907 | return 0; | 907 | return 0; |
908 | default: | 908 | default: |
909 | return -ENOPROTOOPT; | 909 | return -ENOPROTOOPT; |
910 | }; | 910 | } |
911 | 911 | ||
912 | return 0; | 912 | return 0; |
913 | } | 913 | } |
@@ -961,7 +961,8 @@ static int rawv6_setsockopt(struct sock *sk, int level, int optname, | |||
961 | default: | 961 | default: |
962 | return ipv6_setsockopt(sk, level, optname, optval, | 962 | return ipv6_setsockopt(sk, level, optname, optval, |
963 | optlen); | 963 | optlen); |
964 | }; | 964 | } |
965 | |||
965 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); | 966 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); |
966 | } | 967 | } |
967 | 968 | ||
@@ -982,7 +983,7 @@ static int compat_rawv6_setsockopt(struct sock *sk, int level, int optname, | |||
982 | default: | 983 | default: |
983 | return compat_ipv6_setsockopt(sk, level, optname, | 984 | return compat_ipv6_setsockopt(sk, level, optname, |
984 | optval, optlen); | 985 | optval, optlen); |
985 | }; | 986 | } |
986 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); | 987 | return do_rawv6_setsockopt(sk, level, optname, optval, optlen); |
987 | } | 988 | } |
988 | #endif | 989 | #endif |
@@ -1035,7 +1036,8 @@ static int rawv6_getsockopt(struct sock *sk, int level, int optname, | |||
1035 | default: | 1036 | default: |
1036 | return ipv6_getsockopt(sk, level, optname, optval, | 1037 | return ipv6_getsockopt(sk, level, optname, optval, |
1037 | optlen); | 1038 | optlen); |
1038 | }; | 1039 | } |
1040 | |||
1039 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); | 1041 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); |
1040 | } | 1042 | } |
1041 | 1043 | ||
@@ -1056,7 +1058,7 @@ static int compat_rawv6_getsockopt(struct sock *sk, int level, int optname, | |||
1056 | default: | 1058 | default: |
1057 | return compat_ipv6_getsockopt(sk, level, optname, | 1059 | return compat_ipv6_getsockopt(sk, level, optname, |
1058 | optval, optlen); | 1060 | optval, optlen); |
1059 | }; | 1061 | } |
1060 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); | 1062 | return do_rawv6_getsockopt(sk, level, optname, optval, optlen); |
1061 | } | 1063 | } |
1062 | #endif | 1064 | #endif |