version 1.82.6.2, 2006/05/24 10:59:09 |
version 1.82.6.3, 2006/06/26 12:54:13 |
|
|
* dst are the loopback address and the receiving interface |
* dst are the loopback address and the receiving interface |
* is not loopback. |
* is not loopback. |
*/ |
*/ |
|
if (__predict_false( |
|
m_makewritable(&m, 0, sizeof(struct ip6_hdr), M_DONTWAIT))) |
|
goto bad; |
|
ip6 = mtod(m, struct ip6_hdr *); |
if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) { |
if (in6_clearscope(&ip6->ip6_src) || in6_clearscope(&ip6->ip6_dst)) { |
ip6stat.ip6s_badscope++; /* XXX */ |
ip6stat.ip6s_badscope++; /* XXX */ |
goto bad; |
goto bad; |