---
name: "netdev_upper_dev_unlink"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/netdev_upper_dev_unlink"
---

# netdev\_upper\_dev\_unlink(9)

Removes a link to upper device

## NAME

netdev\_upper\_dev\_unlink - Removes a link to upper device

## SYNOPSIS

**void netdev\_upper\_dev\_unlink(struct net\_device \*** *dev***, struct net\_device \*** *upper\_dev***);**

## ARGUMENTS

*dev*

device

*upper\_dev*

new upper device

## DESCRIPTION

Removes a link to device which is upper to this one. The caller must hold the RTNL lock.

## COPYRIGHT
