Page MenuHomeFreeBSD

D24831.diff
No OneTemporary

D24831.diff

Index: head/sys/netinet/tcp_usrreq.c
===================================================================
--- head/sys/netinet/tcp_usrreq.c
+++ head/sys/netinet/tcp_usrreq.c
@@ -1037,6 +1037,12 @@
error = EINVAL;
goto out;
}
+ if ((inp->inp_vflag & INP_IPV6PROTO) == 0) {
+ if (m != NULL)
+ m_freem(m);
+ error = EAFNOSUPPORT;
+ goto out;
+ }
if (IN6_IS_ADDR_MULTICAST(&sin6->sin6_addr)) {
if (m)
m_freem(m);

File Metadata

Mime Type
text/plain
Expires
Mon, Dec 30, 3:19 AM (7 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15634696
Default Alt Text
D24831.diff (454 B)

Event Timeline