[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 12 Mar 2007 01:27:15 -0300
From: "Arnaldo Carvalho de Melo" <acme@...stprotocols.net>
To: "David Miller" <davem@...emloft.net>
Cc: "Netdev List" <netdev@...r.kernel.org>
Subject: [PATCH 08/18][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@...hat.com>
---
net/ieee80211/ieee80211_rx.c | 2 +-
net/ipv4/ipmr.c | 4 ++--
net/sctp/input.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
View attachment "0008-SK_BUFF-Some-more-simple-skb_reset_network_header.patch" of type "text/x-patch" (2341 bytes)
Powered by blists - more mailing lists