Page MenuHomeFreeBSD

D31304.diff
No OneTemporary

D31304.diff

diff --git a/sys/net/if.c b/sys/net/if.c
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -2746,6 +2746,9 @@
return (EINVAL);
if (ifp->if_ioctl == NULL)
return (EOPNOTSUPP);
+ /* Disallow MTU changes on bridge member interfaces. */
+ if (ifp->if_bridge)
+ return (EOPNOTSUPP);
error = (*ifp->if_ioctl)(ifp, cmd, data);
if (error == 0) {
getmicrotime(&ifp->if_lastchange);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 9:16 AM (3 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16193383
Default Alt Text
D31304.diff (390 B)

Event Timeline