Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 28 Jul 2001 05:58:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 28 Jul 2001 05:58:48 -0400 Received: from [213.82.86.194] ([213.82.86.194]:33288 "EHLO fatamorgana.net") by vger.kernel.org with ESMTP id ; Sat, 28 Jul 2001 05:58:41 -0400 Content-Type: Multipart/Mixed; charset="iso-8859-1"; boundary="------------Boundary-00=_A6H6P7KEE8M5HJ0X5KRB" From: Roberto Arcomano To: linux-kernel@vger.kernel.org Subject: [PATCH] net/ipv4/arp.c, kernel 2.4.6 - PROXY_ARP bug on shaper device Date: Sat, 28 Jul 2001 12:01:22 +0200 X-Mailer: KMail [version 1.2] Cc: torvalds@transmeta.com MIME-Version: 1.0 Message-Id: <01072812012201.01311@berto.casa.it> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Original-Recipient: rfc822;linux-kernel-outgoing --------------Boundary-00=_A6H6P7KEE8M5HJ0X5KRB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit This patch should update proxy arp feature for shaper device: it should correct proxy arp bug when talking with shaper device. Details are in README file attached: Thank you for your support. Best Regards Roberto Arcomano --------------Boundary-00=_A6H6P7KEE8M5HJ0X5KRB Content-Type: text/x-c; charset="iso-8859-1"; name="diff" Content-Transfer-Encoding: base64 Content-Description: Proxy arp PATCH diff file Content-Disposition: attachment; filename="diff" LS0tIGxpbnV4LTIuNC42Lm9yaWcvbmV0L2lwdjQvYXJwLmMJV2VkIE1heSAxNiAxOToyMTo0NSAy MDAxCisrKyBsaW51eC0yLjQuNi9uZXQvaXB2NC9hcnAuYwlUaHUgSnVsIDI2IDAyOjAwOjM1IDIw MDEKQEAgLTExMSw2ICsxMTEsNyBAQAogCiAjaW5jbHVkZSA8YXNtL3N5c3RlbS5oPgogI2luY2x1 ZGUgPGFzbS91YWNjZXNzLmg+CisjaW5jbHVkZSA8bGludXgvaWZfc2hhcGVyLmg+CiAKIAogCkBA IC03NjcsOCArNzY4LDE1IEBACiAJCQl9CiAJCQlnb3RvIG91dDsKIAkJfSBlbHNlIGlmIChJTl9E RVZfRk9SV0FSRChpbl9kZXYpKSB7CisgICAgICAgICAgICAgICAgICAgICAgICBjaGFyIHNoZmxh Zz0wOworICAgICAgICAgICAgICAgICAgICAgICAgaWYgKCAocnQtPnUuZHN0LmRldikgJiYKKwkJ CSAgICAgKHJ0LT51LmRzdC5kZXYtPnByaXYpICYmCisJCQkgICAgICgoKHN0cnVjdCBzaGFwZXIg KikgcnQtPnUuZHN0LmRldi0+cHJpdiktPmRldikgJiYKKwkJCSAgICAgKHN0cm5jbXAocnQtPnUu ZHN0LmRldi0+bmFtZSwic2hhcGVyIiw2KT09MCkgKQorCQkJICBzaGZsYWc9MTsKIAkJCWlmICgo cnQtPnJ0X2ZsYWdzJlJUQ0ZfRE5BVCkgfHwKLQkJCSAgICAoYWRkcl90eXBlID09IFJUTl9VTklD QVNUICAmJiBydC0+dS5kc3QuZGV2ICE9IGRldiAmJgorCQkJICAgIChhZGRyX3R5cGUgPT0gUlRO X1VOSUNBU1QgICYmIAorCQkJICAgICggKChzaGZsYWcpICYmICggKChzdHJ1Y3Qgc2hhcGVyICop IHJ0LT51LmRzdC5kZXYtPnByaXYpLT5kZXYgIT0gZGV2KSkgfHwgKCghc2hmbGFnKSAmJiAocnQt PnUuZHN0LmRldiAhPSBkZXYpKSApICYmCiAJCQkgICAgIChJTl9ERVZfUFJPWFlfQVJQKGluX2Rl dikgfHwgcG5laWdoX2xvb2t1cCgmYXJwX3RibCwgJnRpcCwgZGV2LCAwKSkpKSB7CiAJCQkJbiA9 IG5laWdoX2V2ZW50X25zKCZhcnBfdGJsLCBzaGEsICZzaXAsIGRldik7CiAJCQkJaWYgKG4pCg== --------------Boundary-00=_A6H6P7KEE8M5HJ0X5KRB Content-Type: text/x-c; charset="iso-8859-1"; name="README" Content-Transfer-Encoding: base64 Content-Description: README file for proxy arp PATCH Content-Disposition: attachment; filename="README" U3ViamVjdDogUEFUQ0ggdG8gdXBkYXRlIHByb3h5IGFycCBmZWF0dXJlIG9uIHNoYXBlciBkZXZp Y2UKCkF1dGhvcjogUm9iZXJ0byBBcmNvbWFubywgYmVydG9AZmF0YW1vcmdhbmEuY29tLAogICAg ICAgIGh0dHA6Ly93d3cuZmF0YW1vcmdhbmEuY29tL2JlcnRvbGludXgKCkRhdGU6IDA3LzIyLzIw MDEKCkRlc2NyaXB0aW9uOiBTaGFwZXIgZGV2aWNlIGlzIHNlZW4gYnkgdGhlIGtlcm5lbCBsaWtl IGEgCiAgICAgICAgICAgICBkaWZmZXJlbnQgZGV2aWNlIHRoYW4gdGhlIHBoeXNpY2FsIG9uZSB0 byB3aGljaAoJICAgICBpcyBhdHRhY2hlZCB0by4gU28ga2VybmVsIGFsd2F5cyBpc3N1ZXMgYW4g CgkgICAgICJBUlAgUkVQTFkiIChpZiBwcm94eSBhcnAgaXMgYWN0aXZlKTogdGhpcwoJICAgICBw cmV2ZW50IHVzIHRvIGVuYWJsZSBwcm94eSBhcnAgKG9uIGEgc2hhcGVyIGRldmljZSkKCSAgICAg YW5kIHR1cm4gb24gbWFjaGluZSBjYXVzZSB3ZSB3b3VsZCByZWNlaXZlCgkgICAgIGFuICJJUCBj b25mbGl0Ii4KCSAgICAgClNvbHV0aW9uOiBUaGUgcGF0Y2ggaW52ZXN0aWdhdGVzIGFib3V0IHRo ZSBzaGFwZXIgZGV2aWNlIAogICAgICAgICAgKGl0IGNvbXBhcmVzIHN0cmluZyB3aXRoICJzaGFw ZXIiKTogaWYgeWVzLCB3ZSAKCSAgc2VhcmNoIHRoZSByZWFsIGludGVyZmFjZSBhdHRhY2hlZCB0 byBzaGFwZXIKCSAgKHdlIHJlYWQgdmFsdWUgb2YgcHJpdi0+ZGV2KSBhbmQgd2UgdXNlIHRoYXQg dG8KCSAgIG1ha2UgdGhlIGNsYXNzaWMgcHJveHkgYXJwIGRldmljZXM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AyLjIueHgsIDIuMy54eCkKCSAgICAKCSAgICAgICAgICAgICAKCSAgICAgCgkgICAg IAo= --------------Boundary-00=_A6H6P7KEE8M5HJ0X5KRB-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/