]> git.baikalelectronics.ru Git - kernel.git/commit
cxgbi: fix uninitialized flowi6
authorJiri Benc <jbenc@redhat.com>
Fri, 22 Apr 2016 11:09:13 +0000 (13:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Apr 2016 20:20:49 +0000 (16:20 -0400)
commitf27e244e0af7e85cb20056933b3d93a68c87f97b
tree3c7e9eddf1057238d4d271574a3e5d784d314b37
parent103ed5aa21e0eeeaf9d6942dfcd5801f440ae1ab
cxgbi: fix uninitialized flowi6

ip6_route_output looks into different fields in the passed flowi6 structure,
yet cxgbi passes garbage in nearly all those fields. Zero the structure out
first.

Fixes: c7e08737da8ca ("libcxgbi: Add ipv6 api to driver")
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/scsi/cxgbi/libcxgbi.c