Commit a7c47e51 authored by Steve French's avatar Steve French

do not recurse into the filesystem allocating sk buffs

parent e3126f86
......@@ -916,7 +916,7 @@ ipv4_connect(struct sockaddr_in *psin_server, struct socket **csocket,
} else {
/* BB other socket options to set KEEPALIVE, NODELAY? */
cFYI(1,("Socket created"));
/* (*csocket)->sk->allocation = GFP_NOFS; */ /* BB is there equivalent in 2.6 */
(*csocket)->sk->sk_allocation = GFP_NOFS;
}
}
......@@ -1023,6 +1023,7 @@ ipv6_connect(struct sockaddr_in6 *psin_server, struct socket **csocket)
} else {
/* BB other socket options to set KEEPALIVE, NODELAY? */
cFYI(1,("ipv6 Socket created"));
(*csocket)->sk->sk_allocation = GFP_NOFS;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment