diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index e3841099bbda..7dfd7614685c 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -6160,8 +6160,8 @@ int ieee80211_tx_control_port(struct wiphy *wiphy, struct net_device *dev, flags |= IEEE80211_TX_INTFL_NL80211_FRAME_TX; - skb = dev_alloc_skb(local->hw.extra_tx_headroom + - sizeof(struct ethhdr) + len); + skb = netdev_alloc_skb_ip_align(dev, local->hw.extra_tx_headroom + + sizeof(struct ethhdr) + len); if (!skb) return -ENOMEM;