]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[NET]: Make skb->protocol __be16
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 11 Aug 2005 23:05:50 +0000 (16:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2005 23:05:50 +0000 (16:05 -0700)
commita0d3bea3cf6c7c1b53a46432bd490b5dc784ca42
tree2c0f1d9e4c94f6b4052ca7f51442a3f5922124e3
parent7d69fa6266770eeb6317eddd46b64456e8a515bf
[NET]: Make skb->protocol __be16

There are many instances of

skb->protocol = htons(ETH_P_*);
skb->protocol = __constant_htons(ETH_P_*);
and
skb->protocol = *_type_trans(...);

Most of *_type_trans() are already endian-annotated, so, let's shift
attention on other warnings.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h