diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2014-05-24 23:47:46 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-05-25 01:06:38 +0400 |
commit | ea5930f4e1328cad5893d4f0a90edb2ff5693206 (patch) | |
tree | 535f8378c85331d0b54e5877eb38cdd17339fb30 /security | |
parent | 85d3fc9418dc5b357290de89b99c9a8bdd9eef89 (diff) | |
download | linux-ea5930f4e1328cad5893d4f0a90edb2ff5693206.tar.xz |
team: lb: use sizeof(*fprog) in __fprog_create
sock_fprog and sock_fprog_kern are of equal size, however
it's cleaner to just use sizeof(*fprog) instead to always
have correct type.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions