IB/mthca: Use correct structure size in call to memset()
authorRoland Dreier <rolandd@cisco.com>
Sat, 10 Feb 2007 16:00:47 +0000 (08:00 -0800)
committerRoland Dreier <rolandd@cisco.com>
Sat, 10 Feb 2007 16:00:47 +0000 (08:00 -0800)
When clearing the ib_ah_attr parameter in to_ib_ah_attr(), use sizeof
*ib_ah_attr instead of sizeof *path.

Pointed out by Jack Morgenstein <jackm@mellanox.co.il>.

Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found