Patchwork [1/2] Override tftp blocksize set by firmware.

login
register
mail settings
Submitter Dinar Valeev
Date Oct. 30, 2013, 4:47 p.m.
Message ID <1383151653-7494-1-git-send-email-k0da@opensuse.org>
Download mbox | patch
Permalink /patch/287291/
State New
Headers show

Comments

Dinar Valeev - Oct. 30, 2013, 4:47 p.m.
From: Dinar Valeev <dvaleev@suse.com>

Sometimes we need to load files bigger than 32MB, due to bug in pSeries
firmware, we can't control it. Set it to 1024, nowadays it seems more
reasonable.

Signed-off-by: Dinar Valeev <dvaleev@suse.com>
---
 second/fs_of.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/second/fs_of.c b/second/fs_of.c
index 13f5e2c..699c0ba 100644
--- a/second/fs_of.c
+++ b/second/fs_of.c
@@ -203,7 +203,7 @@  of_net_open(struct boot_file_t* file,
           strcat(buffer, ",");
           strcat(buffer, fspec->subnetmask);
           strcat(buffer, ",");
-          strcat(buffer, fspec->addl_params);
+          strcat(buffer, "0.0.0.0,1024");
      } else {
           strcat(buffer, ",");
           strcat(buffer, filename);