[PATCH] net : To avoid execution of extra instructions in NET RX path when rps_map is not set but rps_needed is true.

2015-12-09 Thread Rahul Jain
From: Ashutosh Kaushik The patch fixes the issues with check of global flag "rps_needed" in RX Path (which process packets in TCP/IP stack like netif_rx and netif_receive_skb functions) These functions have flag CONFIG RPS which is enabled default in kernel and to enter in RPS mode, it depends

[PATCH] mac80211_hwsim: missing NULL check

2015-11-29 Thread Rahul Jain
From: Amit Khatri txrate variable might be NULL and passing inside function without NULL check. Signed-off-by: Amit Khatri Signed-off-by: Rahul Jain --- drivers/net/wireless/mac80211_hwsim.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/mac80211_hwsim.c b

[PATCH] mwifiex: corrected README as per the file debugfs.c

2015-07-27 Thread Rahul Jain
Subject: [PATCH] mwifiex: corrected README as per the file debugfs.c Signed-off-by: Rahul Jain Signed-off-by: Amit Khatri --- drivers/net/wireless/mwifiex/README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mwifiex/README b/drivers/net/wireless

[PATCH v2] cfg80211-wext: deleting dead code

2015-07-14 Thread Rahul Jain
From e945737ef2e3a5b7198b9795d6375de85b2fac08 Mon Sep 17 00:00:00 2001 From: Rahul Jain Date: Tue, 14 Jul 2015 14:04:09 +0530 Subject: [PATCH] cfg80211-wext: deleting dead code In func cfg80211_wext_siwretry(), the value of changed is getting modified to non-zero value within if-else condition

[PATCH] Logically DeadCode

2015-07-02 Thread Rahul Jain
hello, From 0c34030166a150d6d9f1ab52e7bb40a5440a68c2 Mon Sep 17 00:00:00 2001 From: Rahul Jain Date: Fri, 3 Jul 2015 10:19:12 +0530 Subject: [PATCH] Logically DeadCode Signed-off-by: Rahul Jain Signed-off-by: Amit Khatri --- net/wireless/util.c| 3 --- net/wireless/wext-compat.c | 3

[Issue] Bridge Info Details with and without sysfs

2013-11-29 Thread Rahul Jain
Hi list, While displaying bridge info using brctl command, different results are observed with and without sysfs mounted. Discrepancy Bridge info results for following fields max age bridge max age hello time bridge hello time forward delay bridge forward delay are diff

Re: How to add source files in kernel

2005-02-07 Thread Rahul Jain
On Fri, 4 Feb 2005, Kronos wrote: > > > > Rahul Jain <[EMAIL PROTECTED]> ha scritto: > > The kernel recompilation went without any problems. I wrote loadable > > module programs that can access the functions defined in .c. When I try to > > install th

How to add source files in kernel

2005-02-04 Thread Rahul Jain
Hi All, I am trying to add 2 new files (a .h and a .c) in the kernel. I copied my .h file in /include/linux and .c in /net/core. I then made the following change to the Makefile in /net/core. obj-y := sock.o skbuff.o iovec.o datagram.o scm.o split_helper.o where split_helper.o is for the .c file

TCP checksum calculation

2005-01-20 Thread Rahul Jain
Hi, I have written a module that changes IP addrs and TCP port values. After changing these fields, I am able to recalculate the IP checksum within the module. To recalculate the TCP checksum, I wrote a new function in tcp_ipv4.c which is very similar to tcp_v4_send_check(). The only difference i

Re: [?] __alloc_pages: 1-order allocation failed.

2001-02-13 Thread Rahul Jain
ing or dd'ing from the drive. Specifically, I get 2- and 3-order allocation failures. I'll use the patch Andi Kleen posted to track down the exact locations of these errors. There seem to be no ill effects at all from these errors. -- -> -/- - Rahul Jain -