projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f5461b
)
RDMA/cxgb3: Annotate an RCU pointer
author
Bart Van Assche
<
[email protected]
>
Wed, 11 Oct 2017 17:48:51 +0000
(10:48 -0700)
committer
Doug Ledford
<
[email protected]
>
Sun, 15 Oct 2017 00:47:05 +0000
(20:47 -0400)
Annotate t3cdev.l2opt with __rcu since it is used as an RCU pointer.
Signed-off-by: Bart Van Assche <
[email protected]
>
Reviewed-by: Steve Wise <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
drivers/net/ethernet/chelsio/cxgb3/t3cdev.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/chelsio/cxgb3/t3cdev.h
b/drivers/net/ethernet/chelsio/cxgb3/t3cdev.h
index 705713b56636d5162b7992d1febf085ac06817f8..3c3e6cf6aca606cb0afecc83621fd37ab06cc4a9 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb3/t3cdev.h
+++ b/
drivers/net/ethernet/chelsio/cxgb3/t3cdev.h
@@
-60,7
+60,7
@@
struct t3cdev {
int (*ctl)(struct t3cdev *dev, unsigned int req, void *data);
void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
void *priv; /* driver private data */
- void
*l2opt;
/* optional layer 2 data */
+ void
__rcu *l2opt;
/* optional layer 2 data */
void *l3opt; /* optional layer 3 data */
void *l4opt; /* optional layer 4 data */
void *ulp; /* ulp stuff */