Fix possible mem leak in fsocket_spawn_clone.

1. Add the lost fsock_free_sock in some error handlers in fsocket_spawn_clone.
2. Rollback the update bb4d2fec21fea6feeba2c6a3e36df0b5b4894aa7.
   Actually the __fsocket_filp_close will free the sock. So need not invoke fsock_free_sock again.
Fix some typos in README.md

According to this link: http://www.answers.com/Q/Should_it_be_an_8_or_a_8.
Merge pull request #13 from jesusjzp/master

Fix some typos in README.md
Fix one possible memleak in fsock_d_alloc

When fail to allocate the mem for dname in fsock_d_alloc, we need to free the dentry to dentry_cache.
Update README.

Add statement in README that Fastsocket currently works on 64-bit
CentOS-6.x system.

Signed-off-by: Xiaofeng Lin <jerrylin.lxf@gmail.com>
Fix one possible memleak in fsock_d_free

When the length of dname is more than DNAME_INLINE_LEN-1, fastsocket will allocate the dname dynamically.
But it does not try to free it in fsock_d_free.

Add one check in fsock_d_free.
When the dname is allocated dynamically, the free it in fsock_d_free.
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
Add the right error handlers when security hook failed.
Merge branch 'master' of github.com:fastos/fastsocket