• Roopa Prabhu's avatar
    vxlan: add changelink support · 8bcdc4f3
    Roopa Prabhu authored
    This patch adds changelink rtnl op support for vxlan netdevs.
    code changes involve:
        - refactor vxlan_newlink into vxlan_nl2conf to be
        used by vxlan_newlink and vxlan_changelink
        - vxlan_nl2conf and vxlan_dev_configure take a
        changelink argument to isolate changelink checks
        and updates.
        - Allow changing only a few attributes:
            - return -EOPNOTSUPP for attributes that cannot
            be changed for now. Incremental patches can
            make the non-supported one available in the future
            if needed.
    Signed-off-by: default avatarRoopa Prabhu <roopa@cumulusnetworks.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8bcdc4f3
vxlan.c 90.2 KB