projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networking: make skb_push & __skb_push return void pointers
[linux-2.6-block.git]
/
net
/
ipv4
/
esp4.c
diff --git
a/net/ipv4/esp4.c
b/net/ipv4/esp4.c
index d815d1755473a114deaef19096e2a0ab77a72cf0..1f18b46502539617f9bd33ea7d584c4df7f818dd 100644
(file)
--- a/
net/ipv4/esp4.c
+++ b/
net/ipv4/esp4.c
@@
-609,7
+609,7
@@
static void esp_input_set_header(struct sk_buff *skb, __be32 *seqhi)
* decryption.
*/
if ((x->props.flags & XFRM_STATE_ESN)) {
- esph =
(void *)
skb_push(skb, 4);
+ esph = skb_push(skb, 4);
*seqhi = esph->spi;
esph->spi = esph->seq_no;
esph->seq_no = XFRM_SKB_CB(skb)->seq.input.hi;