]> git.baikalelectronics.ru Git - kernel.git/commit
[SK_BUFF]: Some more simple skb_reset_network_header conversions
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 10 Mar 2007 22:04:55 +0000 (19:04 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:50 +0000 (22:24 -0700)
commita244ab290c15ff6c461e929812961dbe79b1ebdb
tree0d6465c947d163bf7bf0803624533e6af964ef50
parentbbff905919d59ac1db8f25620b72600f31ad40b0
[SK_BUFF]: Some more simple skb_reset_network_header conversions

This time of the type:

 skb->nh.iph = (struct iphdr *)skb->data;

That is completely equivalent to:

 skb->nh.raw = skb->data;

Wonder why people love casts... :-)

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee80211/ieee80211_rx.c
net/ipv4/ipmr.c
net/sctp/input.c