]> err.no Git - linux-2.6/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)
commit31c7711b509d470ab1e175e7bb98ea66a82aa916
tree0d6465c947d163bf7bf0803624533e6af964ef50
parent4209fb601c0a0e0a9d90c0008f350dd345c8b7de
[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