sctp: Correct access to skb->{network, transport}_header
commit158874cac61245b84e939c92c53db7000122b7b0
authorSimon Horman <horms@verge.net.au>
Tue, 28 May 2013 20:34:28 +0000 (28 20:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 May 2013 06:49:07 +0000 (28 23:49 -0700)
tree0a425098fbfcf0001892f6d30519d476420b4aac
parentf7c0c2ae843b74f8dba55820cb0a3de19c976703
sctp: Correct access to skb->{network, transport}_header

This corrects an regression introduced by "net: Use 16bits for *_headers
fields of struct skbuff" when NET_SKBUFF_DATA_USES_OFFSET is not set. In
that case sk_buff_data_t will be a pointer, however,
skb->{network,transport}_header is now __u16.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/input.c
net/sctp/ipv6.c