diff options
| author | Service qcabuildsw <qcabuildsw@localhost> | 2016-07-13 11:12:27 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-07-13 11:12:27 -0700 |
| commit | 30cd33d895e4eb7d2fc35c7c8fa81da4bd6c5ab3 (patch) | |
| tree | 36fef45fc07fee196b4887ac0b526bbbb9069734 | |
| parent | 1b3fb824e58058ef30a783b0097c0d34d8e0aca1 (diff) | |
| parent | b477e0ba22cd67af81fe8ab048942db3d27b2e93 (diff) | |
Merge "qcacld-3.0: Revert [qca-cld]Fix for UDP-UL data-stall on ROME3.1" into wlan-cld3.driver.lnx.1.1-dev
| -rw-r--r-- | core/hdd/src/wlan_hdd_softap_tx_rx.c | 9 | ||||
| -rw-r--r-- | core/hdd/src/wlan_hdd_tx_rx.c | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/core/hdd/src/wlan_hdd_softap_tx_rx.c b/core/hdd/src/wlan_hdd_softap_tx_rx.c index a0dbea356d3b..be1edf2fac2f 100644 --- a/core/hdd/src/wlan_hdd_softap_tx_rx.c +++ b/core/hdd/src/wlan_hdd_softap_tx_rx.c @@ -317,15 +317,6 @@ int hdd_softap_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) skb = skb_unshare(skb, GFP_ATOMIC); if (!skb) goto drop_pkt_accounting; - - if (skb_headroom(skb) < dev->hard_header_len) { - struct sk_buff *tmp; - tmp = skb; - skb = skb_realloc_headroom(tmp, dev->hard_header_len); - dev_kfree_skb(tmp); - if (!skb) - goto drop_pkt_accounting; - } #if defined (IPA_OFFLOAD) } #endif diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index 3509a86c6a3e..9a4ff03294ea 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -396,15 +396,6 @@ int hdd_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) skb = skb_unshare(skb, GFP_ATOMIC); if (!skb) goto drop_pkt_accounting; - - if (skb_headroom(skb) < dev->hard_header_len) { - struct sk_buff *tmp; - tmp = skb; - skb = skb_realloc_headroom(tmp, dev->hard_header_len); - dev_kfree_skb(tmp); - if (!skb) - goto drop_pkt_accounting; - } } /* user priority from IP header, which is already extracted and set from |
