diff options
author | Rami Rosen <rosenr@marvell.com> | 2012-08-27 23:39:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-31 16:24:02 -0400 |
commit | d1a53dfd114a6c53464de116cdab88d934bfe92f (patch) | |
tree | 9c0424486348fb56cf87aa91063bd3f336ca9c00 /include/linux/hdlcdrv.h | |
parent | 98d75c3724f9b37cdfdb85f821e10edcb743959e (diff) | |
download | op-kernel-dev-d1a53dfd114a6c53464de116cdab88d934bfe92f.zip op-kernel-dev-d1a53dfd114a6c53464de116cdab88d934bfe92f.tar.gz |
net: fix documentation of skb_needs_linearize().
skb_needs_linearize() does not check highmem DMA as it does not call
illegal_highdma() anymore, so there is no need to mention highmem DMA here.
(Indeed, ~NETIF_F_SG flag, which is checked in skb_needs_linearize(), can
be set when illegal_highdma() returns true, and we are assured that
illegal_highdma() is invoked prior to skb_needs_linearize() as
skb_needs_linearize() is a static method called only once.
But ~NETIF_F_SG can be set not only there in this same invocation path.
It can also be set when can_checksum_protocol() returns false).
see commit 02932ce9e2c136e6fab2571c8e0dd69ae8ec9853,
Convert skb_need_linearize() to use precomputed features.
Signed-off-by: Rami Rosen <rosenr@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/hdlcdrv.h')
0 files changed, 0 insertions, 0 deletions