Steven,

On Thu, Nov 05, 2015 at 05:23:02PM +0000, Steven Hartland wrote:
S> Author: smh
S> Date: Thu Nov  5 17:23:02 2015
S> New Revision: 290403
S> URL: https://svnweb.freebsd.org/changeset/base/290403
S> 
S> Log:
S>   Add MTU support to carp interfaces
S>   
S>   MFC after: 2 weeks
S>   Sponsored by:      Multiplay

What is "carp interfaces"? I believe you are committing a patch to FreeBSD 9
into FreeBSD 11, w/o doing any testing and w/o doing even light review of
surrounding code, which differes a lot from FreeBSD 9.

Please back this out or correct me being wrong.

S> Modified:
S>   head/sys/netinet/ip_carp.c
S> 
S> Modified: head/sys/netinet/ip_carp.c
S> 
==============================================================================
S> --- head/sys/netinet/ip_carp.c       Thu Nov  5 17:19:08 2015        
(r290402)
S> +++ head/sys/netinet/ip_carp.c       Thu Nov  5 17:23:02 2015        
(r290403)
S> @@ -1769,6 +1769,13 @@ carp_ioctl(struct ifreq *ifr, u_long cmd
S>              }
S>              break;
S>          }
S> +    case SIOCSIFMTU:
S> +            if (ifr->ifr_mtu > ETHERMTU_JUMBO) {
S> +                    error = EINVAL;
S> +            } else {
S> +                    ifp->if_mtu = ifr->ifr_mtu;
S> +            }
S> +            break;
S>      default:
S>              error = EINVAL;
S>      }
S> _______________________________________________
S> svn-src-all@freebsd.org mailing list
S> https://lists.freebsd.org/mailman/listinfo/svn-src-all
S> To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

-- 
Totus tuus, Glebius.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to