git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce ip_hdr(), remove skb->nh.iph
[safe/jmp/linux-2.6]
/
net
/
sctp
/
input.c
diff --git
a/net/sctp/input.c
b/net/sctp/input.c
index
2b0863a
..
595fe32
100644
(file)
--- a/
net/sctp/input.c
+++ b/
net/sctp/input.c
@@
-154,7
+154,7
@@
int sctp_rcv(struct sk_buff *skb)
if (skb->len < sizeof(struct sctp_chunkhdr))
goto discard_it;
- family = ipver2af(
skb->nh.iph
->version);
+ family = ipver2af(
ip_hdr(skb)
->version);
af = sctp_get_af_specific(family);
if (unlikely(!af))
goto discard_it;