]> git.openfabrics.org - ~emulex/infiniband.git/commit
soreuseport: fix use of uid in tb->fastuid
authorTom Herbert <therbert@google.com>
Sat, 26 Jan 2013 07:50:54 +0000 (07:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jan 2013 06:01:42 +0000 (01:01 -0500)
commit9c5e0c0bbc5f683ada546af3c39a5a90b156a6f0
treed68bb14e49ebd8ed892e45eb34da0b1e9c12152b
parent5588d3742da9900323dc3d766845a53bacdfb5ab
soreuseport: fix use of uid in tb->fastuid

Fix a reported compilation error where ia variable of type kuid_t
was being set to zero.

Eliminate two instances of setting tb->fastuid to zero.  tb->fastuid is
only used if tb->fastreuseport is set, so there should be no problem if
tb->fastuid is not initialized (when tb->fastreuesport is zero).

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c