Re: [flame^Wreview] net: netprio_cgroup: rework update socket logic

From: John Fastabend
Date: Mon Aug 13 2012 - 02:24:03 EST


OK clearly I screwed it up thanks for reviewing Al. How about this.

fdt = files_fdtable(files);
for (fd = 0; fd < fdt->max_fds; fd++) {
struct socket *sock;
int err = 0;

sock = sockfd_lookup(fd, &err);
if (!sock) {
typo ^^^^^^
if (sock) {

to be honest I can't see why I didn't use sockfd_lookup in the first
place...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/