diff options
author | Ian Campbell <Ian.Campbell@citrix.com> | 2011-08-22 23:44:58 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-25 00:52:11 (GMT) |
commit | ea2ab69379a941c6f8884e290fdd28c93936a778 (patch) | |
tree | c02aa9c5ed66b1640b54bb6b763d131b9419be29 /net/core/kmap_skb.h | |
parent | 15133fbbb91ae695f153fb48daa6a1a8af4a5032 (diff) | |
download | linux-fsl-qoriq-ea2ab69379a941c6f8884e290fdd28c93936a778.tar.xz |
net: convert core to skb paged frag APIs
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/kmap_skb.h')
-rw-r--r-- | net/core/kmap_skb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/kmap_skb.h b/net/core/kmap_skb.h index 283c2b99..81e1ed7 100644 --- a/net/core/kmap_skb.h +++ b/net/core/kmap_skb.h @@ -7,7 +7,7 @@ static inline void *kmap_skb_frag(const skb_frag_t *frag) local_bh_disable(); #endif - return kmap_atomic(frag->page, KM_SKB_DATA_SOFTIRQ); + return kmap_atomic(skb_frag_page(frag), KM_SKB_DATA_SOFTIRQ); } static inline void kunmap_skb_frag(void *vaddr) |