netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] [NETLINK] unify checkings for clean messages and fix indentation
@ 2005-02-11  0:13 Pablo Neira
  0 siblings, 0 replies; only message in thread
From: Pablo Neira @ 2005-02-11  0:13 UTC (permalink / raw)
  To: netdev; +Cc: David S. Miller

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-11  0:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-11  0:13 [PATCH 0/4] [NETLINK] unify checkings for clean messages and fix indentation Pablo Neira

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).