Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107174194
D39746.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.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
Sun, Jan 12, 6:12 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15762402
Default Alt Text
D39746.diff (428 B)
Attached To
Mode
D39746: Delete unreachable code
Attached
Detach File
Event Timeline
Log In to Comment