]> git.baikalelectronics.ru Git - kernel.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)
commit2546b10bc2b49d15390c62105370c7a37ae1225b
treed68bb14e49ebd8ed892e45eb34da0b1e9c12152b
parenteeb0dd75ba6b58a3590c3e9f4292bd7e49b5f7d2
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