Author: kib
Date: Mon Nov 12 15:59:32 2018
New Revision: 340364
URL: https://svnweb.freebsd.org/changeset/base/340364

Log:
  Allow set ether/vlan PCP operation from the VNET jails.
  
  The vlan interfaces can be created from vnet jails, it seems, so it
  sounds logical to allow pcp configuration as well.
  
  Reviewed by:  bz, hselasky (previous version)
  Sponsored by: Mellanox Technologies
  MFC after:    1 week
  Differential revision:        https://reviews.freebsd.org/D17777

Modified:
  head/sys/kern/kern_jail.c

Modified: head/sys/kern/kern_jail.c
==============================================================================
--- head/sys/kern/kern_jail.c   Mon Nov 12 15:52:45 2018        (r340363)
+++ head/sys/kern/kern_jail.c   Mon Nov 12 15:59:32 2018        (r340364)
@@ -3062,6 +3062,7 @@ prison_priv_check(struct ucred *cred, int priv)
        case PRIV_NET_SETIFMETRIC:
        case PRIV_NET_SETIFPHYS:
        case PRIV_NET_SETIFMAC:
+       case PRIV_NET_SETLANPCP:
        case PRIV_NET_ADDMULTI:
        case PRIV_NET_DELMULTI:
        case PRIV_NET_HWIOCTL:
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to