linux-hardened/net/x25
Eric Dumazet f545a38f74 net: add a limit parameter to sk_add_backlog()
sk_add_backlog() & sk_rcvqueues_full() hard coded sk_rcvbuf as the
memory limit. We need to make this limit a parameter for TCP use.

No functional change expected in this patch, all callers still using the
old sk_rcvbuf limit.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Tom Herbert <therbert@google.com>
Cc: Maciej Żenczykowski <maze@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Cc: Rick Jones <rick.jones2@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-04-23 22:28:28 -04:00
..
af_x25.c net:x25: use IS_ENABLED 2011-12-16 15:49:52 -05:00
Kconfig x25: remove the BKL 2011-03-05 10:55:45 +01:00
Makefile [X.25]: Add call forwarding 2007-02-08 13:34:02 -08:00
sysctl_net_x25.c net: Convert all sysctl registrations to register_net_sysctl 2012-04-20 21:22:30 -04:00
x25_dev.c net: add a limit parameter to sk_add_backlog() 2012-04-23 22:28:28 -04:00
x25_facilities.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
x25_forward.c Fix common misspellings 2011-03-31 11:26:23 -03:00
x25_in.c x25: Handle undersized/fragmented skbs 2011-10-17 19:31:39 -04:00
x25_link.c x25: Handle undersized/fragmented skbs 2011-10-17 19:31:39 -04:00
x25_out.c x25: remove the BKL 2011-03-05 10:55:45 +01:00
x25_proc.c net: Add export.h for EXPORT_SYMBOL/THIS_MODULE to non-modules 2011-10-31 19:30:30 -04:00
x25_route.c net:x25: use IS_ENABLED 2011-12-16 15:49:52 -05:00
x25_subr.c x25: Handle undersized/fragmented skbs 2011-10-17 19:31:39 -04:00
x25_timer.c x25: Fix sleep from timer on socket destroy. 2009-06-16 05:40:30 -07:00