Unit test for socket cookie upstream patch

Add a unit test to make sure the socket cookie retrieved from kernel is
the real cookie introduced by upstream commit
33cf7c90fe2f97afb1cadaa0cfb782cb9d1b9ee2.

Test: new unit test passes on kernel 3.18 and above
Signed-off-by: Chenbo Feng <fengc@google.com>
Change-Id: I75ef3e21181007293580330da36e54001b0a2fb6
1 file changed
tree: 411696d41388d2e6cd9222eb5429c1d0a51754d1
  1. net/