add return code to sfe_ipv4_create_rule

sfe_ipv4_create_rule returns nothing (void), but the function has a
chance for failure.  if the function fails, this could cause the
fast-classifier to become out-of-sync with respect to the offloaded
state of the connection.

this causes two issues:
	1. this is partially handled by repeatedly calling
	   _create_rule for the connection, which seems inefficient.
	2. offloaded state is propagated back to userspace

Change-Id: I6184344a8278379e064b128d6d4086e2c2fa169a
Signed-off-by: Nicolas Costa <ncosta@codeaurora.org>
3 files changed
tree: d7ddda0611a7750047beac452aae2cbb0e6b52f9
  1. fast-classifier/
  2. patches/
  3. shortcut-fe/
  4. .gitignore
  5. README