mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
e023dd6437
commit
eddc9ec53b
132 changed files with 565 additions and 564 deletions
|
|
@ -228,7 +228,7 @@ static int ieee80211_classify(struct sk_buff *skb)
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue