diff options
author | Robert Hancock <hancock@sedsystems.ca> | 2019-06-07 01:28:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-07 02:24:29 +0300 |
commit | 23e6b2dc93630b60a6c33bd2a1289686bc33e272 (patch) | |
tree | 8ee634c23ea11707d21ca07ce8635c74934da24f /net/unix/af_unix.c | |
parent | 40ae25505fe834648ce4aa70b073ee934942bfdb (diff) | |
download | linux-23e6b2dc93630b60a6c33bd2a1289686bc33e272.tar.xz |
net: axienet: Fix casting of pointers to u32
This driver was casting skb pointers to u32 and storing them as such in
the DMA buffer descriptor, which is obviously broken on 64-bit. The area
of the buffer descriptor being used is not accessed by the hardware and
has sufficient room for a 32 or 64-bit pointer, so just store the skb
pointer as such.
Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions