--- in6.c.orig 2013-08-21 11:02:43.000000000 +0400 +++ in6.c 2013-08-22 09:52:24.000000000 +0400 @@ -609,6 +609,14 @@ in6_control(struct socket *so, u_long cm *((struct in6_ifextra *)ifp->if_afdata[AF_INET6])->icmp6_ifstat; break; + case SIOCSIFADDR: + case SIOCSIFDSTADDR: + /* + * Do not pass those ioctl to driver handler since they are not + * properly setup. Instead just error out. + */ + return (EOPNOTSUPP); + case SIOCGIFALIFETIME_IN6: ifr->ifr_ifru.ifru_lifetime = ia->ia6_lifetime; break;