DORMANTno replies

[PATCH 08/18][SK_BUFF]: Some more simple skb_reset_network_header conversions

From: Arnaldo Carvalho de Melo <hidden>
Date: 2007-03-12 04:27:17

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 <redacted>
---
 net/ieee80211/ieee80211_rx.c |    2 +-
 net/ipv4/ipmr.c              |    4 ++--
 net/sctp/input.c             |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help