diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 355662aac940..bd8b4ca85a2a 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1863,7 +1863,7 @@ static inline int skb_bond_should_drop(struct sk_buff *skb) | |||
1863 | 1863 | ||
1864 | if (dev->priv_flags & IFF_SLAVE_INACTIVE) { | 1864 | if (dev->priv_flags & IFF_SLAVE_INACTIVE) { |
1865 | if ((dev->priv_flags & IFF_SLAVE_NEEDARP) && | 1865 | if ((dev->priv_flags & IFF_SLAVE_NEEDARP) && |
1866 | skb->protocol == __constant_htons(ETH_P_ARP)) | 1866 | skb->protocol == __cpu_to_be16(ETH_P_ARP)) |
1867 | return 0; | 1867 | return 0; |
1868 | 1868 | ||
1869 | if (master->priv_flags & IFF_MASTER_ALB) { | 1869 | if (master->priv_flags & IFF_MASTER_ALB) { |
@@ -1872,7 +1872,7 @@ static inline int skb_bond_should_drop(struct sk_buff *skb) | |||
1872 | return 0; | 1872 | return 0; |
1873 | } | 1873 | } |
1874 | if (master->priv_flags & IFF_MASTER_8023AD && | 1874 | if (master->priv_flags & IFF_MASTER_8023AD && |
1875 | skb->protocol == __constant_htons(ETH_P_SLOW)) | 1875 | skb->protocol == __cpu_to_be16(ETH_P_SLOW)) |
1876 | return 0; | 1876 | return 0; |
1877 | 1877 | ||
1878 | return 1; | 1878 | return 1; |