|
|
@@ -467,25 +467,6 @@ Signed-off-by: John Crispin <[email protected]>
|
|
|
struct atm_trafprm {
|
|
|
unsigned char traffic_class; /* traffic class (ATM_UBR, ...) */
|
|
|
int max_pcr; /* maximum PCR in cells per second */
|
|
|
---- a/net/atm/common.c
|
|
|
-+++ b/net/atm/common.c
|
|
|
-@@ -62,10 +62,16 @@ static void vcc_remove_socket(struct soc
|
|
|
- write_unlock_irq(&vcc_sklist_lock);
|
|
|
- }
|
|
|
-
|
|
|
-+struct sk_buff* (*ifx_atm_alloc_tx)(struct atm_vcc *, unsigned int) = NULL;
|
|
|
-+EXPORT_SYMBOL(ifx_atm_alloc_tx);
|
|
|
-+
|
|
|
- static bool vcc_tx_ready(struct atm_vcc *vcc, unsigned int size)
|
|
|
- {
|
|
|
- struct sock *sk = sk_atm(vcc);
|
|
|
-
|
|
|
-+ if (ifx_atm_alloc_tx != NULL)
|
|
|
-+ return ifx_atm_alloc_tx(vcc, size);
|
|
|
-+
|
|
|
- if (sk_wmem_alloc_get(sk) && !atm_may_send(vcc, size)) {
|
|
|
- pr_debug("Sorry: wmem_alloc = %d, size = %d, sndbuf = %d\n",
|
|
|
- sk_wmem_alloc_get(sk), size, sk->sk_sndbuf);
|
|
|
--- a/net/atm/proc.c
|
|
|
+++ b/net/atm/proc.c
|
|
|
@@ -155,7 +155,7 @@ static void *vcc_seq_next(struct seq_fil
|