summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2015-08-06 16:41:57 +0200
committerDavid S. Miller <davem@davemloft.net>2015-08-09 22:54:10 -0700
commit3bfcd34764cbd3bcb48f6e9009eacf1d19856213 (patch)
tree8d53c807c62f83a096f9bd30388da57d31570918 /net/switchdev/switchdev.c
parentd003462a50de8605e66be0966e6370ab9821e07e (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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions