diff options
| -rw-r--r-- | net/ipv6/ipv6_sockglue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ipv6_sockglue.c b/net/ipv6/ipv6_sockglue.c index 003fd99ff597..25757ade989f 100644 --- a/net/ipv6/ipv6_sockglue.c +++ b/net/ipv6/ipv6_sockglue.c | |||
| @@ -287,7 +287,7 @@ int ipv6_setsockopt(struct sock *sk, int level, int optname, | |||
| 287 | { | 287 | { |
| 288 | struct ipv6_txoptions *opt; | 288 | struct ipv6_txoptions *opt; |
| 289 | if (optlen == 0) | 289 | if (optlen == 0) |
| 290 | optval = 0; | 290 | optval = NULL; |
| 291 | 291 | ||
| 292 | /* hop-by-hop / destination options are privileged option */ | 292 | /* hop-by-hop / destination options are privileged option */ |
| 293 | retv = -EPERM; | 293 | retv = -EPERM; |
