]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/8021q/vlan_dev.c
[NET]: Move hardware header operations out of netdevice.
[mirror_ubuntu-zesty-kernel.git] / net / 8021q / vlan_dev.c
index ca8090fdabbbd20129dab913cfe66d5aec21ede1..1a1740aa9a8b52ced5b71c4b2443b2eea773c0a7 100644 (file)
@@ -343,8 +343,8 @@ static inline unsigned short vlan_dev_get_egress_qos_mask(struct net_device* dev
  *  physical devices.
  */
 int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev,
-                        unsigned short type, void *daddr, void *saddr,
-                        unsigned len)
+                        unsigned short type,
+                        const void *daddr, const void *saddr, unsigned len)
 {
        struct vlan_hdr *vhdr;
        unsigned short veth_TCI = 0;