Init the ret at the entry of netif_rps_process.

The old codes does not init the ret, so it will return unexpected value when pskb_may_pull failed.
Enhance the statements used to set rcs and rps.

Create one inline function "inet_sock_cpu_or_flow_record" to avoid duplicated codes
Merge branch 'master' of github.com:fastos/fastsocket
Enhance the proto_init_net and proto_exit_net

1. There was no any error handler in proto_init_net to free the resources allocated before.
2. It lost free the mem "sock_lookup_stats", "rcs_lookup_stats", and remove the "rcs_lookup" proc file;
fix bug for memory leak while adding common files
Merge pull request #22 from yifei429/master

fix bug for memory leak while adding common files
remove unused codes.
Merge pull request #23 from yifei429/master

remove unused codes.
Continue using inet_sock_cpu_or_flow_record instead of duplicated codes
1. Move inet_sock_cpu_or_flow_record from af_inet.c to inet_sock.h;
2. Using inet_sock_cpu_or_flow_record instead of duplicated codes tcp.c and udp.c;
Add two macros FSOCKET_INVALID_POOL_ID and to avoid hard-coded for fastsocket pool_id check

The pool_id of skb and sinfo must be initialized to -1 when they are not from the fastsocket pool.
And there is the check the pool_id with -1. They was hard-coded before.
It is not easy to maintain. So Use the macros to enclose them.
Move the fsocket_get_dbg_level from fastsocket.c to fastsocket.h to make sure the inline func could be unfolded
Let fastsocket could run normally with selinux enabled
Merge pull request #1 from fastos/master

merge 1207