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