Page MenuHomeFreeBSD

D39746.diff
No OneTemporary

D39746.diff

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

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)

Event Timeline