Re: [RESEND][PATCH] ebtables: clean up vmalloc usage in net/bridge/netfilter/ebtables.c

2006-04-20 Thread Jayachandran C
On Wed, Apr 19, 2006 at 04:13:24PM -0700, Andrew Morton wrote: > "David S. Miller" <[EMAIL PROTECTED]> wrote: > > > > From: Andrew Morton <[EMAIL PROTECTED]> > > Date: Wed, 19 Apr 2006 15:59:25 -0700 > > > > > "David S. Miller" <[EMAIL PROTECTED]> wrote: > > > > > > > > An earlier variant of your

[RESEND][PATCH] ebtables: clean up vmalloc usage in net/bridge/netfilter/ebtables.c

2006-04-18 Thread Jayachandran C
/netfilter/ebtables.c follow the standard convention. Remove unnecessary casts, and use '*object' instead of 'type'. Signed-off-by: Jayachandran C. --- net/bridge/netfilter/ebtables.c | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) diff -ur li

Re: [IPv4] Fix issue reported by Coverity in net/ipv4/udp.c

2005-12-02 Thread Jayachandran C.
On Fri, Dec 02, 2005 at 07:47:45AM +0100, Eric Dumazet wrote: > Herbert Xu a écrit : > >Jayachandran C. <[EMAIL PROTECTED]> wrote: [incorrect patch deleted] > > > >This is wrong. If we're peeking, we've incremented the refcount of the > >skb without tak

[IPv4] Fix issue reported by Coverity in net/ipv4/af_inet.c

2005-12-01 Thread Jayachandran C.
rotocol cannot be 0(IPPROTO_IP), when the answer != NULL. This patch - removes the "if(!protocol)" check - adds a check when answer == NULL, to see if the list is empty to return -ESOCKTNOSUPPORT or -EPROTONOSUPPORT Signed-off-by: Jayachandran C. --- af_inet.c | 12 +++

[IPv4] Fix issue reported by Coverity in net/ipv4/udp.c

2005-12-01 Thread Jayachandran C.
atagram" Patch Description: The kfree_skb(skb) call seems unnecessary as the skb_free_datagram after that will free the skb. This patch removes the clear flag and call to kfree_skb() Signed-off-by: Jayachandran C. --- udp.c |4 1 files changed, 4 deletions(-) diff -ur l