Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108563305
D31304.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
390 B
Referenced Files
None
Subscribers
None
D31304.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D31304: net: disallow MTU changes on bridge member interfaces
Attached
Detach File
Event Timeline
Log In to Comment