netlabel: Cleanup the Smack/NetLabel code to fix incoming TCP connections
[pandora-kernel.git] / net / netlabel / netlabel_kapi.c
index cae2f5f..b0e582f 100644 (file)
@@ -860,6 +860,19 @@ req_setattr_return:
        return ret_val;
 }
 
+/**
+* netlbl_req_delattr - Delete all the NetLabel labels on a socket
+* @req: the socket
+*
+* Description:
+* Remove all the NetLabel labeling from @req.
+*
+*/
+void netlbl_req_delattr(struct request_sock *req)
+{
+       cipso_v4_req_delattr(req);
+}
+
 /**
  * netlbl_skbuff_setattr - Label a packet using the correct protocol
  * @skb: the packet