commit | eddc9ec53be2ecdbf4efe0efd4a83052594f0ac0 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Fri Apr 20 22:47:35 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Apr 25 22:25:10 2007 -0700 |
tree | 4a38ab4dbd9d61fdf5a5ea6ed61463e0b9e33ba7 | |
parent | e023dd643798c4f06c16466af90b4d250e4b8bd7 [diff] [blame] |
[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index 3fca434..62a8a2b 100644 --- a/net/ieee80211/ieee80211_tx.c +++ b/net/ieee80211/ieee80211_tx.c
@@ -228,7 +228,7 @@ if (eth->h_proto != htons(ETH_P_IP)) return 0; - ip = skb->nh.iph; + ip = ip_hdr(skb); switch (ip->tos & 0xfc) { case 0x20: return 2;