| To: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [UDP] Check encap_type at config time |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Fri, 25 Jun 2004 10:37:51 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20040625121147.GA11231@xxxxxxxxxxxxxxxxxxx> |
| References: | <20040625121147.GA11231@xxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Fri, 25 Jun 2004 22:11:47 +1000 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > The following patch moves the udp->encap_type check from the per-packet > hot-path into udp_setsockopt(). > > As a consequence, this allows user space to detect whether the kernel > actually supports the encap type that they're requesting. Pity no one > did this before the NON-IKE patch was applied. As it is there is no > easy way to detect whether NON-IKE support is present. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Applied, looks great. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [NAT-T] NON-IKE encapsulation, David S. Miller |
|---|---|
| Next by Date: | Re: [IPSEC] Check encap_type at config time, David S. Miller |
| Previous by Thread: | Re: [IPSEC] Remove run-time encap_type checks in esp4, David S. Miller |
| Next by Thread: | [PATCH] natsemi 1: switch to netdev_priv(), Manfred Spraul |
| Indexes: | [Date] [Thread] [Top] [All Lists] |