commit | 3bfcd34764cbd3bcb48f6e9009eacf1d19856213 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Thu Aug 06 16:41:57 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Aug 09 22:54:10 2015 -0700 |
tree | 8d53c807c62f83a096f9bd30388da57d31570918 | |
parent | d003462a50de8605e66be0966e6370ab9821e07e [diff] |
mlxsw: Use correct skb length when dumping payload Do not use the length of the transmitted skb (which was freed), but that of the response skb. This issue was discovered using the Kernel Address sanitizer (KASan). Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>