diff options
author | Cong Wang <amwang@redhat.com> | 2013-05-29 15:16:05 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-31 17:02:47 -0700 |
commit | 35d0461061f27eeb62de63174959edbbb9e434de (patch) | |
tree | d314524f383b508e02055c84b25b72c7e38d77e3 /net/ipv4 | |
parent | 938177e9f3e0238c1712210f7bb6def38a5c8d7f (diff) |
net: clean up skb headers code
commit 1a37e412a0225fcba5587 (net: Use 16bits for *_headers
fields of struct skbuff) converts skb->*_header to u16,
some #if NET_SKBUFF_DATA_USES_OFFSET are now useless,
and to be safe, we could just use "X = (typeof(X)) ~0U;"
as suggested by David.
Cc: David S. Miller <davem@davemloft.net>
Cc: Simon Horman <horms@verge.net.au>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions