From: Zhi Yong Wu Date: Tue, 31 Dec 2013 20:31:01 +0000 (+0800) Subject: net, rps: fix build failure when CONFIG_RPS isn't set X-Git-Tag: v3.14-rc1~94^2~343 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9d8ca0454a28d0f835138d7294ede4fc6d95572;p=pandora-kernel.git net, rps: fix build failure when CONFIG_RPS isn't set In file included from net/socket.c:99:0: include/net/sock.h: In function ‘sock_rps_record_flow’: include/net/sock.h:849:30: error: ‘const struct sock’ has no member named ‘sk_rxhash’ include/net/sock.h: In function ‘sock_rps_reset_flow’: include/net/sock.h:854:29: error: ‘const struct sock’ has no member named ‘sk_rxhash’ Reported-by: Fengguang Wu Signed-off-by: Zhi Yong Wu Signed-off-by: David S. Miller --- Reading git-diff-tree failed