summaryrefslogtreecommitdiff
path: root/net/packet/af_packet.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-01-04 12:21:26 +0300
committerDavid S. Miller <davem@davemloft.net>2022-01-04 15:36:01 +0300
commit3087a6f36ee028ec095c04a8531d7d33899b7fed (patch)
tree1343cf3615f8ef34ae0bffd9571eee9fc02aa47b /net/packet/af_packet.c
parentd2d9a6d0b4c2b4d2cd07378e190469f030c7d126 (diff)
downloadlinux-3087a6f36ee028ec095c04a8531d7d33899b7fed.tar.xz
netrom: fix copying in user data in nr_setsockopt
This code used to copy in an unsigned long worth of data before the sockptr_t conversion, so restore that. Fixes: a7b75c5a8c41 ("net: pass a sockptr_t into ->setsockopt") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/packet/af_packet.c')
0 files changed, 0 insertions, 0 deletions