FreeBSD Bugzilla – Attachment 237750 Details for
Bug 261711
net/wireguard-kmod: Cannot send data over VXLAN / vtnet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
stable/12 patch
stable_12_if_vxlan.diff (text/plain), 499 bytes, created by
Zhenlei Huang
on 2022-10-31 12:44:54 UTC
(
hide
)
Description:
stable/12 patch
Filename:
MIME Type:
Creator:
Zhenlei Huang
Created:
2022-10-31 12:44:54 UTC
Size:
499 bytes
patch
obsolete
>diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c >index 17f96727ca12..67aa760f7fcf 100644 >--- a/sys/net/if_vxlan.c >+++ b/sys/net/if_vxlan.c >@@ -2560,6 +2560,12 @@ vxlan_input(struct vxlan_socket *vso, uint32_t vni, struct mbuf **m0, > > ifp = sc->vxl_ifp; > m = *m0; >+ if (m->m_len < ETHER_HDR_LEN && >+ (m = m_pullup(m, ETHER_HDR_LEN)) == NULL) { >+ *m0 = NULL; >+ error = ENOBUFS; >+ goto out; >+ } > eh = mtod(m, struct ether_header *); > > if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261711
:
236944
| 237750