commit | ea5930f4e1328cad5893d4f0a90edb2ff5693206 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Sat May 24 21:47:46 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sat May 24 17:06:38 2014 -0400 |
tree | 535f8378c85331d0b54e5877eb38cdd17339fb30 | |
parent | 85d3fc9418dc5b357290de89b99c9a8bdd9eef89 [diff] |
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>