commit | 7b02bf6194887eab2f8912f7284a9e407329a255 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Nov 12 15:18:16 2019 +0100 |
committer | Luca Coelho <luciano.coelho@intel.com> | Fri Dec 20 13:35:42 2019 +0200 |
tree | b91aaf5ca45424c3c5d0c880618019389c9c114e | |
parent | 160bab43419ebca9ee57219b2ccf02f0fa2c59e8 [diff] |
iwlwifi: pcie: move page tracking into get_page_hdr() Move the tracking that records the page in the SKB for later free (refcount decrement) into the get_page_hdr() function for better code reuse. While at it, also add an assertion that this doesn't overwrite any existing page pointer in the skb. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>