Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131569293
D39746.id120797.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
428 B
Referenced Files
None
Subscribers
None
D39746.id120797.diff
View Options
diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c
--- a/sys/net/if_stf.c
+++ b/sys/net/if_stf.c
@@ -295,12 +295,6 @@
ifp->if_dunit = IF_DUNIT_NONE;
sc->encap_cookie = ip_encap_attach(&ipv4_encap_cfg, sc, M_WAITOK);
- if (sc->encap_cookie == NULL) {
- if_printf(ifp, "attach failed\n");
- free(sc, M_STF);
- ifc_free_unit(ifc, unit);
- return (ENOMEM);
- }
ifp->if_mtu = IPV6_MMTU;
ifp->if_ioctl = stf_ioctl;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 10, 8:48 AM (21 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23525546
Default Alt Text
D39746.id120797.diff (428 B)
Attached To
Mode
D39746: Delete unreachable code
Attached
Detach File
Event Timeline
Log In to Comment