]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/decnet/dn_nsp_in.c
[PATCH] proc: remove the useless SMP-safe comments from /proc
[linux-2.6-omap-h63xx.git] / net / decnet / dn_nsp_in.c
index 547523b41c8168e6c9b67dd25964cfe1aeccfc4c..72ecc6e62ec4a6630aef847a702b8e5748299f79 100644 (file)
@@ -45,7 +45,6 @@
     GNU General Public License for more details.
 *******************************************************************************/
 
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/socket.h>
@@ -587,7 +586,7 @@ static __inline__ int dn_queue_skb(struct sock *sk, struct sk_buff *skb, int sig
                goto out;
         }
 
-       err = sk_filter(sk, skb, 0);
+       err = sk_filter(sk, skb);
        if (err)
                goto out;
 
@@ -801,8 +800,7 @@ got_it:
                 * We linearize everything except data segments here.
                 */
                if (cb->nsp_flags & ~0x60) {
-                       if (unlikely(skb_is_nonlinear(skb)) &&
-                           skb_linearize(skb, GFP_ATOMIC) != 0)
+                       if (unlikely(skb_linearize(skb)))
                                goto free_out;
                }