commit | 35d0461061f27eeb62de63174959edbbb9e434de | [log] [tgz] |
---|---|---|
author | Cong Wang <amwang@redhat.com> | Wed May 29 15:16:05 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri May 31 17:02:47 2013 -0700 |
tree | d314524f383b508e02055c84b25b72c7e38d77e3 | |
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>