| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 0/4] [NETLINK] unify checkings for clean messages and fix indentation |
| From: | Pablo Neira <pablo@xxxxxxxxxxx> |
| Date: | Fri, 11 Feb 2005 01:13:47 +0100 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 |
Hi,The following patches introduce a new function that check that the netlink messages received are clean. Actually some people performs such checkings, some don't and others simply do some half of them. I think that we must unify the behaviour of a netlink socket when it has to reply to malformed messages. Attached an indentation fix for netlink.h as well.
00indent-fix.patch:
fixes broken indentation in netlink.h
01process_skb.patch:
introduces the new function called netlink_check_skb that does
the sanity checkings for received messages.
02xfrm.patch:
the modification to make xfrm_user use such new function.
03rtnetlink.patch:
same thing for rtnetlink.
The 02 and 03 patches are straightforward conversions. If you are ok
with this, I could post more patches to make other netlink sockets use
this new function.
-- Pablo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: 2.6.10 TCP troubles -- suggested patch, Rick Jones |
|---|---|
| Next by Date: | [PATCH 1/4] [NETLINK] fix broken indentation in netlink.h, Pablo Neira |
| Previous by Thread: | Re: (usagi-users 03019) Re: sysctl net.ipv6.conf.eth0.use_tempaddr only recogniced on interface start?, Peter Bieringer |
| Next by Thread: | [PATCH 1/4] [NETLINK] fix broken indentation in netlink.h, Pablo Neira |
| Indexes: | [Date] [Thread] [Top] [All Lists] |