]> Pileus Git - ~andy/linux/blobdiff - net/netlabel/netlabel_kapi.c
Merge branch 'slub/earlyboot' into for-linus
[~andy/linux] / net / netlabel / netlabel_kapi.c
index cae2f5f4cac0bf8ec39a19e1a5c47143dbc7f9e6..b0e582f2d37aa5a9bf52c8efc86384fe0439472b 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