Name
skb_set_dev —
- assign a new device to a buffer
Synopsis
void skb_set_dev ( | struct sk_buff * skb, |
| struct net_device * dev) ; |
Arguments
skb
buffer for the new device
dev
network device
Description
If an skb is owned by a device already, we have to reset
all data private to the namespace a device belongs to
before assigning it a new device.