diff options
author | Jean Delvare <khali@linux-fr.org> | 2009-04-06 04:27:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-07 02:07:59 +0200 |
commit | 10fd9d7ec48194754de6497ded2ef53cbd2c313e (patch) | |
tree | 4bf147d16636b5984cb694f2d6a5ea26a9f688c3 /net/ipv6/xfrm6_output.c | |
parent | gigaset: documentation update (diff) | |
download | linux-10fd9d7ec48194754de6497ded2ef53cbd2c313e.tar.xz linux-10fd9d7ec48194754de6497ded2ef53cbd2c313e.zip |
ibm_newemac: Fix dangerous struct assumption
The ibm_newemac driver includes code which assumes that the
work_struct which is included in every delayed_work is the first
member of that structure. This is currently the case but might change
in the future, so use to_delayed_work() instead, which doesn't make
such an assumption.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_output.c')
0 files changed, 0 insertions, 0 deletions