git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
networking: make skb_put & friends return void pointers
[sfrench/cifs-2.6.git]
/
net
/
psample
/
psample.c
diff --git
a/net/psample/psample.c
b/net/psample/psample.c
index 8aa58a918783c47409f1749653d9aca88ad0deb8..3a6ad0f438dc6423d450c098bb55001cdb5e83a6 100644
(file)
--- a/
net/psample/psample.c
+++ b/
net/psample/psample.c
@@
-264,7
+264,7
@@
void psample_sample_packet(struct psample_group *group, struct sk_buff *skb,
int nla_len = nla_total_size(data_len);
struct nlattr *nla;
- nla =
(struct nlattr *)
skb_put(nl_skb, nla_len);
+ nla = skb_put(nl_skb, nla_len);
nla->nla_type = PSAMPLE_ATTR_DATA;
nla->nla_len = nla_attr_size(data_len);