[PATCH] minor fix for ip_queue

From: James Morris (jmorrisat_private)
Date: Thu Aug 23 2001 - 21:22:14 PDT

  • Next message: Greg KH: "Re: [patch] Unix sockets & syscall"

    Below is a patch which removes a spurious bracket in the current LSM code.
    
    - James
    -- 
    James Morris
    <jmorrisat_private>
    
    --- kernel.orig/net/ipv4/netfilter/ip_queue.c	Wed Aug 22 14:38:52 2001
    +++ lsm/net/ipv4/netfilter/ip_queue.c	Fri Aug 24 13:55:04 2001
    @@ -516,7 +516,7 @@
     		RCV_SKB_FAIL(-EINVAL);
     	if (type <= IPQM_BASE)
     		return;
    -	if (security_ops->netlink_recv(skb)) {
    +	if (security_ops->netlink_recv(skb))
     		RCV_SKB_FAIL(-EPERM);
     	if (nlq->peer.pid && !nlq->peer.died
     	    && (nlq->peer.pid != nlh->nlmsg_pid)) {
    
    
    
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Thu Aug 23 2001 - 21:26:40 PDT